-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
98 lines (88 loc) · 3.1 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
[project]
authors = [
{ name = "Diederik van der Boor", email = "[email protected]" },
{ name = "Timo Brembeck", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["Django>=3.2", "Sphinx>=3.4.0", "pprintpp"]
description = "Improve the Sphinx autodoc for Django classes."
dynamic = ["version"]
keywords = ["django", "docstrings", "extension", "sphinx"]
license = { text = "Apache2 2.0 License" }
maintainers = [
{ name = "Timo Brembeck", email = "[email protected]" },
]
name = "sphinxcontrib-django"
readme = "README.rst"
requires-python = ">=3.8"
[project.urls]
"Bug Tracker" = "https://github.com/sphinx-doc/sphinxcontrib-django/issues"
"Documentation" = "https://sphinxcontrib-django.readthedocs.io/"
"Release Notes" = "https://github.com/sphinx-doc/sphinxcontrib-django/blob/main/CHANGES.rst"
"Source Code" = "https://github.com/sphinx-doc/sphinxcontrib-django"
[project.optional-dependencies]
dev = ["pre-commit"]
doc = ["sphinx-last-updated-by-git", "sphinx-rtd-theme"]
optional = [
"django-mptt",
"django-phonenumber-field[phonenumbers]",
"psycopg2-binary",
]
test = ["coverage", "pytest", "pytest-icdiff", "requests-mock"]
[tool.setuptools.dynamic]
version = { attr = "sphinxcontrib_django.__version__" }
[tool.setuptools.packages.find]
include = ["sphinxcontrib_django*"]
[tool.black]
skip-magic-trailing-comma = true
preview = true
[tool.coverage.run]
command_line = "-m pytest"
source = ["sphinxcontrib_django"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
addopts = "-ra -vv --color=yes"
minversion = "6.0"
testpaths = ["tests"]
[tool.ruff]
select = [
"F",
"E",
"W",
"I",
# "D",
"RET",
"SIM",
]
ignore = [
"D1", # Missing docstrings
]
line-length = 99