-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
52 lines (44 loc) · 1.28 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
[project]
name = "debmagic"
version = "0.0.1-alpha.1"
description = "build debian packages"
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.12"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = ["python-debian>=1.0"]
[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 = ["pytest>=9.0.1", "pytest-cov>=7.0.0", "ruff", "pre-commit", "mypy"]
[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"]
mccabe.max-complexity = 25
pylint.max-args = 10
[tool.pytest]
testpaths = ["tests"]
addopts = ["--ignore=tests/integration/packages"]