-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (48 loc) · 1.12 KB
/
pyproject.toml
File metadata and controls
54 lines (48 loc) · 1.12 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
[dependency-groups]
dev = [
{ include-group = "docs" },
"maturin",
"pytest>=9.0.1",
"pytest-cov>=7.0.0",
"ruff",
"pre-commit",
"ty",
]
docs = [
"sphinx>=8.2.3,<9",
"myst-parser>=4.0.1",
"sphinx-autobuild>=2025.8.25",
"sphinx-copybutton>=0.5.2",
"sphinx-rtd-theme>=3.0.2",
]
[tool.uv]
package = false
[tool.uv.sources]
debmagic-common = { workspace = true }
debmagic-pkg = { workspace = true }
[tool.uv.workspace]
members = [
"packages/debmagic-pkg",
# for now we don't want to always add the rust cli to the python workspace to avoid increasing uv sync times in CI
# "packages/debmagic",
]
[tool.ruff]
line-length = 120
target-version = "py312"
extend-exclude = [
".idea",
".mypy_cache",
".venv*",
"docs",
"debian",
"__pycache__",
"*.egg_info",
]
[tool.ruff.lint]
select = ["E", "W", "B", "F", "I", "C", "N", "PL", "RUF", "PYI", "I001"]
ignore = ["E722", "PLR2004", "PLR0912", "PLR5501", "PLC0415", "PLR0911", "B006"]
mccabe.max-complexity = 25
pylint.max-args = 10
[tool.pytest]
testpaths = ["tests"]
addopts = ["--ignore=tests/integration/packages"]