22build-backend = " hatchling.build"
33requires = [
44 " hatch-vcs>=0.4" ,
5- " hatchling>=1.24 " ,
5+ " hatchling>=1.25 " ,
66]
77
88[project ]
@@ -35,29 +35,30 @@ classifiers = [
3535 " Programming Language :: Python :: 3.10" ,
3636 " Programming Language :: Python :: 3.11" ,
3737 " Programming Language :: Python :: 3.12" ,
38+ " Programming Language :: Python :: 3.13" ,
3839 " Topic :: Documentation :: Sphinx" ,
3940]
4041dynamic = [
4142 " version" ,
4243]
4344dependencies = [
44- " sphinx>=7.3.5 " ,
45+ " sphinx>=8.0.2 " ,
4546]
4647optional-dependencies.docs = [
47- " furo>=2024.1.29 " ,
48+ " furo>=2024.8.6 " ,
4849]
4950optional-dependencies.numpy = [
5051 " nptyping>=2.5" ,
5152]
5253optional-dependencies.testing = [
5354 " 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 " ,
5859 " 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 " ,
6162]
6263urls.Changelog = " https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
6364urls.Homepage = " https://github.com/tox-dev/sphinx-autodoc-typehints"
@@ -68,9 +69,6 @@ urls.Tracker = "https://github.com/tox-dev/sphinx-autodoc-typehints/issues"
6869build.hooks.vcs.version-file = " src/sphinx_autodoc_typehints/version.py"
6970version.source = " vcs"
7071
71- [tool .black ]
72- line-length = 120
73-
7472[tool .ruff ]
7573target-version = " py39"
7674line-length = 120
@@ -87,18 +85,19 @@ lint.ignore = [
8785 " CPY" , # No copyright statements
8886 " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
8987 " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
88+ " DOC" , # no sphinx support
9089 " ISC001" , # Conflict with formatter
9190 " S104" , # Possible binding to all interface
9291]
9392lint.per-file-ignores."tests/**/*.py" = [
9493 " 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
9695 " INP001" , # no implicit namespace
9796 " PLC2701" , # private imports
9897 " PLR0913" , # any number of arguments in tests
9998 " PLR0917" , # any number of arguments in tests
10099 " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
101- " S101" , # asserts allowed in tests...
100+ " S101" , # asserts allowed in tests
102101 " S603" , # `subprocess` call: check for execution of untrusted input
103102]
104103lint.isort = { known-first-party = [
@@ -115,6 +114,9 @@ ignore-words = "ignore-words.txt"
115114write-changes = true
116115count = true
117116
117+ [tool .pyproject-fmt ]
118+ max_supported_python = " 3.13"
119+
118120[tool .pytest .ini_options ]
119121testpaths = [
120122 " tests" ,
0 commit comments