1
1
[build-system ]
2
2
build-backend = " hatchling.build"
3
- requires = [" hatchling>=1.13" , " hatch-vcs>=0.3" ]
3
+ requires = [
4
+ " hatch-vcs>=0.3" ,
5
+ " hatchling>=1.13" ,
6
+ ]
4
7
5
8
[project ]
6
- name = " sphinx_autodoc_typehints "
9
+ name = " sphinx-autodoc-typehints "
7
10
description = " Type hints (PEP 484) support for the Sphinx autodoc extension"
8
- readme.file = " README.md"
9
11
readme.content-type = " text/markdown"
10
- keywords = [" virtual" , " environments" , " isolated" , " testing" ]
12
+ readme.file = " README.md"
13
+ keywords = [
14
+ " environments" ,
15
+ " isolated" ,
16
+ " testing" ,
17
+ " virtual" ,
18
+ ]
11
19
license = " MIT"
12
- urls.Homepage = " https://github.com/tox-dev/sphinx-autodoc-typehints"
13
- urls.Source = " https://github.com/tox-dev/sphinx-autodoc-typehints"
14
- urls.Tracker = " https://github.com/tox-dev/sphinx-autodoc-typehints/issues"
15
- urls.Changelog = " https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
16
- authors = [{
name =
" Bernát Gábor" ,
email =
" [email protected] " }]
17
20
maintainers = [{
name =
" Bernát Gábor" ,
email =
" [email protected] " }]
21
+ authors = [{
name =
" Bernát Gábor" ,
email =
" [email protected] " }]
18
22
requires-python = " >=3.7"
19
- dependencies = [" Sphinx>=5.3" ]
20
- optional-dependencies.docs = [" furo>=2022.12.7" , " sphinx>=6.1.3" , " sphinx-autodoc-typehints>=1.23.4" ]
23
+ classifiers = [
24
+ " Development Status :: 5 - Production/Stable" ,
25
+ " Framework :: Sphinx :: Extension" ,
26
+ " Intended Audience :: Developers" ,
27
+ " License :: OSI Approved :: MIT License" ,
28
+ " Programming Language :: Python" ,
29
+ " Programming Language :: Python :: 3" ,
30
+ " Programming Language :: Python :: 3 :: Only" ,
31
+ " Topic :: Documentation :: Sphinx" ,
32
+ ]
33
+ dynamic = [
34
+ " version" ,
35
+ ]
36
+ dependencies = [
37
+ " Sphinx>=5.3" ,
38
+ ]
39
+ optional-dependencies.docs = [
40
+ " furo>=2022.12.7" ,
41
+ " sphinx>=6.1.3" ,
42
+ " sphinx-autodoc-typehints>=1.23.4" ,
43
+ ]
21
44
optional-dependencies.testing = [
22
45
" covdefaults>=2.2.2" ,
23
46
" coverage>=7.2" ,
@@ -28,23 +51,29 @@ optional-dependencies.testing = [
28
51
" sphobjinv>=2.3.1" ,
29
52
" typing-extensions>=4.5" ,
30
53
]
31
- optional-dependencies.type-comment = [' typed-ast>=1.5.4; python_version < "3.8"' ]
32
- dynamic = [" version" ]
33
- classifiers = [
34
- " Development Status :: 5 - Production/Stable" ,
35
- " Framework :: Sphinx :: Extension" ,
36
- " Intended Audience :: Developers" ,
37
- " License :: OSI Approved :: MIT License" ,
38
- " Programming Language :: Python" ,
39
- " Programming Language :: Python :: 3" ,
40
- " Programming Language :: Python :: 3 :: Only" ,
41
- " Topic :: Documentation :: Sphinx" ,
54
+ optional-dependencies.type-comment = [
55
+ ' typed-ast>=1.5.4; python_version < "3.8"' ,
42
56
]
57
+ urls.Changelog = " https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
58
+ urls.Homepage = " https://github.com/tox-dev/sphinx-autodoc-typehints"
59
+ urls.Source = " https://github.com/tox-dev/sphinx-autodoc-typehints"
60
+ urls.Tracker = " https://github.com/tox-dev/sphinx-autodoc-typehints/issues"
43
61
44
62
[tool .hatch ]
45
63
build.hooks.vcs.version-file = " src/sphinx_autodoc_typehints/version.py"
46
64
version.source = " vcs"
47
65
66
+ [tool .black ]
67
+ line-length = 120
68
+
69
+ [tool .isort ]
70
+ line_length = 120
71
+ profile = " black"
72
+ known_first_party = [" sphinx_autodoc_typehints" , " tests" ]
73
+
74
+ [tool .pytest .ini_options ]
75
+ testpaths = [" tests" ]
76
+
48
77
[tool .coverage ]
49
78
html.show_contexts = true
50
79
html.skip_covered = false
@@ -61,17 +90,6 @@ report.omit = []
61
90
run.parallel = true
62
91
run.plugins = [" covdefaults" ]
63
92
64
- [tool .black ]
65
- line-length = 120
66
-
67
- [tool .isort ]
68
- line_length = 120
69
- profile = " black"
70
- known_first_party = [" sphinx_autodoc_typehints" , " tests" ]
71
-
72
- [tool .pytest .ini_options ]
73
- testpaths = [" tests" ]
74
-
75
93
[tool .mypy ]
76
94
python_version = " 3.10"
77
95
strict = true
0 commit comments