2
2
build-backend = " hatchling.build"
3
3
requires = [
4
4
" hatch-vcs>=0.4" ,
5
- " hatchling>=1.24 " ,
5
+ " hatchling>=1.25 " ,
6
6
]
7
7
8
8
[project ]
@@ -35,29 +35,30 @@ classifiers = [
35
35
" Programming Language :: Python :: 3.10" ,
36
36
" Programming Language :: Python :: 3.11" ,
37
37
" Programming Language :: Python :: 3.12" ,
38
+ " Programming Language :: Python :: 3.13" ,
38
39
" Topic :: Documentation :: Sphinx" ,
39
40
]
40
41
dynamic = [
41
42
" version" ,
42
43
]
43
44
dependencies = [
44
- " sphinx>=7.3.5 " ,
45
+ " sphinx>=8.0.2 " ,
45
46
]
46
47
optional-dependencies.docs = [
47
- " furo>=2024.1.29 " ,
48
+ " furo>=2024.8.6 " ,
48
49
]
49
50
optional-dependencies.numpy = [
50
51
" nptyping>=2.5" ,
51
52
]
52
53
optional-dependencies.testing = [
53
54
" covdefaults>=2.3" ,
54
- " coverage>=7.4.4 " ,
55
- " defusedxml>=0.7.1" , # required by sphinx.testing
56
- " diff-cover>=9" ,
57
- " pytest>=8.1.1 " ,
55
+ " coverage>=7.6.1 " ,
56
+ " defusedxml>=0.7.1" , # required by sphinx.testing
57
+ " diff-cover>=9.1.1 " ,
58
+ " pytest>=8.3.2 " ,
58
59
" pytest-cov>=5" ,
59
- " sphobjinv>=2.3.1" ,
60
- " typing-extensions>=4.11 " ,
60
+ " sphobjinv>=2.3.1.1 " ,
61
+ " typing-extensions>=4.12.2 " ,
61
62
]
62
63
urls.Changelog = " https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
63
64
urls.Homepage = " https://github.com/tox-dev/sphinx-autodoc-typehints"
@@ -68,9 +69,6 @@ urls.Tracker = "https://github.com/tox-dev/sphinx-autodoc-typehints/issues"
68
69
build.hooks.vcs.version-file = " src/sphinx_autodoc_typehints/version.py"
69
70
version.source = " vcs"
70
71
71
- [tool .black ]
72
- line-length = 120
73
-
74
72
[tool .ruff ]
75
73
target-version = " py39"
76
74
line-length = 120
@@ -87,18 +85,19 @@ lint.ignore = [
87
85
" CPY" , # No copyright statements
88
86
" D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
89
87
" D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
88
+ " DOC" , # no sphinx support
90
89
" ISC001" , # Conflict with formatter
91
90
" S104" , # Possible binding to all interface
92
91
]
93
92
lint.per-file-ignores."tests/**/*.py" = [
94
93
" D" , # don't care about documentation in tests
95
- " FBT" , # don" t care about booleans as positional arguments in tests
94
+ " FBT" , # don' t care about booleans as positional arguments in tests
96
95
" INP001" , # no implicit namespace
97
96
" PLC2701" , # private imports
98
97
" PLR0913" , # any number of arguments in tests
99
98
" PLR0917" , # any number of arguments in tests
100
99
" PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
101
- " S101" , # asserts allowed in tests...
100
+ " S101" , # asserts allowed in tests
102
101
" S603" , # `subprocess` call: check for execution of untrusted input
103
102
]
104
103
lint.isort = { known-first-party = [
@@ -115,6 +114,9 @@ ignore-words = "ignore-words.txt"
115
114
write-changes = true
116
115
count = true
117
116
117
+ [tool .pyproject-fmt ]
118
+ max_supported_python = " 3.13"
119
+
118
120
[tool .pytest .ini_options ]
119
121
testpaths = [
120
122
" tests" ,
0 commit comments