-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
79 lines (69 loc) · 1.72 KB
/
pyproject.toml
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
68
69
70
71
72
73
74
75
76
77
78
79
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "python-debianbts"
authors = [
{ name="Bastian Venthur", email="[email protected]" },
]
description = "Python interface to Debian's Bug Tracking System"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.9, <4"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Bug Tracking",
]
dynamic = ["version"]
dependencies = []
[project.scripts]
debianbts = "debianbts.__main__:main"
[project.urls]
'Documentation' = 'https://python-debianbts.readthedocs.io/'
'Source' = 'https://github.com/venthur/python-debianbts'
'Changelog' = 'https://github.com/venthur/python-debianbts/blob/master/CHANGELOG.md'
[project.optional-dependencies]
dev = [
"build",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"pytest",
"pytest-cov",
"pytest-xdist",
"ruff",
"wheel",
"twine",
"mypy",
]
[tool.setuptools.dynamic]
version = {attr = "debianbts.version.__version__" }
[tool.setuptools]
packages = ["debianbts"]
[tool.pytest.ini_options]
addopts = """
--cov=debianbts
--cov=tests
--cov-report=html
--cov-report=term-missing:skip-covered
--numprocesses=auto
"""
[tool.ruff]
line-length = 79
target-version = "py39"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", "W", # pycodestyle
"C90", # mccabe
"I", # isort
"D", # pydocstyle
"UP" # pyupgrade
]
pydocstyle.convention = "numpy"
[tool.mypy]
files = "debianbts,tests"
strict = true