-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (59 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
67 lines (59 loc) · 1.54 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
59
60
61
62
63
64
65
66
67
[project]
name = "debmagic"
version = "0.0.1-alpha.1"
description = "build debian packages"
license = "GPL-2.0-or-later"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.12"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = ["python-debian>=1.0", "pydantic>=2,<3"]
[project.scripts]
debmagic = "debmagic.cli:main"
[project.urls]
homepage = "https://github.com/SFTtech/debmagic"
source = "https://github.com/SFTtech/debmagic.git"
issues = "https://github.com/SFTtech/debmagic/issues"
releasenotes = "https://github.com/SFTtech/debmagic/-/blob/main/debian/changelog"
[build-system]
requires = ["setuptools>=77.0.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
{ include-group = "docs" },
"pytest>=9.0.1",
"pytest-cov>=7.0.0",
"ruff",
"pre-commit",
"mypy",
]
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.mypy]
mypy_path = '$MYPY_CONFIG_FILE_DIR/src'
exclude_gitignore = true
[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", "F", "I", "C", "N", "PL", "RUF", "I001"]
ignore = ["E722", "PLR2004", "PLR0912", "PLR5501", "PLC0415", "PLR0911"]
mccabe.max-complexity = 25
pylint.max-args = 10
[tool.pytest]
testpaths = ["tests"]
addopts = ["--ignore=tests/integration/packages"]