forked from tox-dev/sphinx-autodoc-typehints
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
83 lines (74 loc) · 2.38 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.13", "hatch-vcs>=0.3"]
[project]
name = "sphinx_autodoc_typehints"
description = "Type hints (PEP 484) support for the Sphinx autodoc extension"
readme.file = "README.md"
readme.content-type = "text/markdown"
keywords = ["virtual", "environments", "isolated", "testing"]
license = "MIT"
urls.Homepage = "https://github.com/tox-dev/sphinx-autodoc-typehints"
urls.Source = "https://github.com/tox-dev/sphinx-autodoc-typehints"
urls.Tracker = "https://github.com/tox-dev/sphinx-autodoc-typehints/issues"
urls.Changelog = "https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
authors = [{ name = "Bernát Gábor", email = "[email protected]" }]
maintainers = [{ name = "Bernát Gábor", email = "[email protected]" }]
requires-python = ">=3.7"
dependencies = ["Sphinx>=5.3"]
optional-dependencies.docs = ["furo>=2022.12.7", "sphinx>=6.1.3", "sphinx-autodoc-typehints>=1.23.4"]
optional-dependencies.testing = [
"covdefaults>=2.2.2",
"coverage>=7.2",
"diff-cover>=7.5",
"nptyping>=2.5",
"pytest>=7.2.1",
"pytest-cov>=4",
"sphobjinv>=2.3.1",
"typing-extensions>=4.5",
]
optional-dependencies.type-comment = ['typed-ast>=1.5.4; python_version < "3.8"']
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Documentation :: Sphinx",
]
[tool.hatch]
build.hooks.vcs.version-file = "src/sphinx_autodoc_typehints/version.py"
version.source = "vcs"
[tool.coverage]
html.show_contexts = true
html.skip_covered = false
paths.source = [
"src",
".tox*/*/lib/python*/site-packages",
".tox*/pypy*/site-packages",
".tox*\\*\\Lib\\site-packages",
"*/src",
"*\\src",
]
report.fail_under = 81
report.omit = []
run.parallel = true
run.plugins = ["covdefaults"]
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
known_first_party = ["sphinx_autodoc_typehints", "tests"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
python_version = "3.10"
strict = true
exclude = "^(.*/roots/.*)|(tests/test_integration.py)$"
[[tool.mypy.overrides]]
module = ["sphobjinv"]
ignore_missing_imports = true