2
2
build-backend = " hatchling.build"
3
3
requires = [
4
4
" hatch-vcs>=0.4" ,
5
- " hatchling>=1.18 " ,
5
+ " hatchling>=1.24 " ,
6
6
]
7
7
8
8
[project ]
@@ -14,8 +14,8 @@ keywords = [
14
14
" sphinx" ,
15
15
]
16
16
license = " MIT"
17
- maintainers = [{
name =
" Bernat Gabor" ,
email =
" [email protected] " }]
# noqa: E999
18
- requires-python = " >=3.8 "
17
+ maintainers = [{
name =
" Bernat Gabor" ,
email =
" [email protected] " }]
# noqa: E999
18
+ requires-python = " >=3.9 "
19
19
classifiers = [
20
20
" Development Status :: 5 - Production/Stable" ,
21
21
" Environment :: Console" ,
@@ -25,7 +25,6 @@ classifiers = [
25
25
" License :: OSI Approved :: MIT License" ,
26
26
" Operating System :: OS Independent" ,
27
27
" Programming Language :: Python :: 3 :: Only" ,
28
- " Programming Language :: Python :: 3.8" ,
29
28
" Programming Language :: Python :: 3.9" ,
30
29
" Programming Language :: Python :: 3.10" ,
31
30
" Programming Language :: Python :: 3.11" ,
@@ -38,12 +37,13 @@ dynamic = [
38
37
" version" ,
39
38
]
40
39
dependencies = [
41
- " sphinx>=7.1.2 " ,
40
+ " sphinx>=7.3.5 " ,
42
41
]
43
42
optional-dependencies.test = [
44
43
" covdefaults>=2.3" ,
45
- " pytest>=7.4.3" ,
46
- " pytest-cov>=4.1" ,
44
+ " defusedxml>=0.7.1" , # needed for sphinx.testing
45
+ " pytest>=8.1.1" ,
46
+ " pytest-cov>=5" ,
47
47
]
48
48
urls.Documentation = " https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
49
49
urls.Homepage = " https://github.com/tox-dev/sphinx-argparse-cli"
@@ -62,33 +62,33 @@ line-length = 120
62
62
line-length = 120
63
63
target-version = " py38"
64
64
lint.select = [" ALL" ]
65
- lint.isort = {known-first-party = [" sphinx_argparse_cli" ], required-imports = [" from __future__ import annotations" ]}
65
+ lint.isort = { known-first-party = [" sphinx_argparse_cli" ], required-imports = [" from __future__ import annotations" ] }
66
66
lint.ignore = [
67
- " ANN101" , # no type annotation for self
68
- " ANN401" , # allow Any as type annotation
69
- " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
70
- " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
71
- " S104" , # Possible binding to all interface
67
+ " ANN101" , # no type annotation for self
68
+ " ANN401" , # allow Any as type annotation
69
+ " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
70
+ " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
71
+ " S104" , # Possible binding to all interface
72
72
" COM812" , # Conflict with formatter
73
73
" ISC001" , # Conflict with formatter
74
74
" CPY" , # No copyright statements
75
75
]
76
76
[tool .ruff .lint .per-file-ignores ]
77
77
"tests/**/*.py" = [
78
- " S101" , # asserts allowed in tests...
79
- " FBT" , # don"t care about booleans as positional arguments in tests
80
- " INP001" , # no implicit namespace
81
- " D" , # don"t care about documentation in tests
82
- " S603" , # `subprocess` call: check for execution of untrusted input
83
- " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
84
- " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
78
+ " S101" , # asserts allowed in tests...
79
+ " FBT" , # don"t care about booleans as positional arguments in tests
80
+ " INP001" , # no implicit namespace
81
+ " D" , # don"t care about documentation in tests
82
+ " S603" , # `subprocess` call: check for execution of untrusted input
83
+ " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
84
+ " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
85
85
" PLR0913" , # any number of arguments in tests
86
86
" PLR0917" , # any number of arguments in tests
87
87
" PLC2701" , # private import
88
88
]
89
89
"roots/**/*.py" = [
90
- " INP001" , # no namespace
91
- " D" , # no docs
90
+ " INP001" , # no namespace
91
+ " D" , # no docs
92
92
]
93
93
94
94
[tool .codespell ]
0 commit comments