Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) 路 2.63 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (50 loc) 路 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tool.uv.workspace]
members = ["examples/vite-vanilla", "packages/python"]
[tool.uv]
constraint-dependencies = ["pymdown-extensions>=11.0.1"]
[dependency-groups]
dev = ["ruff>=0.15", "tomli>=2.3.1; python_version < '3.11'", "ty>=0.0.39"]
test = [
"jsonschema>=4.23",
"matplotlib>=3.8",
"pytest>=9",
"pytest-asyncio>=1.3",
"pytest-timeout>=2.4",
"pytest-xdist>=3.8.0",
]
[tool.pytest.ini_options]
markers = [
"application: run deterministic notebook application contracts",
"serial: run lifecycle timing tests without other pytest workers",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
pydocstyle = { convention = "numpy" }
select = ["E", "F", "I", "UP", "B", "SIM", "RUF", "TID251"]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"marimo._ast" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._cli" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._code_mode" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._config" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._entrypoints" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._messaging" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._plugins" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._runtime" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._save" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._schemas" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._session" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._types" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo._utils" = { msg = "Private marimo imports belong in marimo_export._marimo.compat" }
"marimo_export._marimo.compat" = { msg = "Construct private adapters in marimo_export._marimo composition roots" }
[tool.ruff.lint.per-file-ignores]
"packages/python/src/marimo_export/_marimo/compat/**/*.py" = ["TID251"]
"packages/python/src/marimo_export/_marimo/anywidget.py" = ["TID251"]
"packages/python/src/marimo_export/_marimo/composition.py" = ["TID251"]
"packages/python/src/marimo_export/_marimo/blob.py" = ["TID251"]
"packages/python/src/marimo_export/_marimo/entrypoints.py" = ["TID251"]
"packages/python/src/marimo_export/_marimo/managed_server.py" = ["TID251"]
"packages/python/tests/**/*.py" = ["TID251"]
[tool.ty.src]
include = ["packages/python/src", "packages/python/tests"]