22build-backend = " hatchling.build"
33requires = [
44 " hatch-vcs>=0.4" ,
5- " hatchling>=1.18 " ,
5+ " hatchling>=1.24 " ,
66]
77
88[project ]
@@ -14,8 +14,8 @@ keywords = [
1414 " sphinx" ,
1515]
1616license = " MIT"
17- maintainers = [{
name =
" Bernat Gabor" ,
email =
" [email protected] " }]
# noqa: E99918- requires-python = " >=3.8 "
17+ maintainers = [{
name =
" Bernat Gabor" ,
email =
" [email protected] " }]
# noqa: E99918+ requires-python = " >=3.9 "
1919classifiers = [
2020 " Development Status :: 5 - Production/Stable" ,
2121 " Environment :: Console" ,
@@ -25,7 +25,6 @@ classifiers = [
2525 " License :: OSI Approved :: MIT License" ,
2626 " Operating System :: OS Independent" ,
2727 " Programming Language :: Python :: 3 :: Only" ,
28- " Programming Language :: Python :: 3.8" ,
2928 " Programming Language :: Python :: 3.9" ,
3029 " Programming Language :: Python :: 3.10" ,
3130 " Programming Language :: Python :: 3.11" ,
@@ -38,12 +37,13 @@ dynamic = [
3837 " version" ,
3938]
4039dependencies = [
41- " sphinx>=7.1.2 " ,
40+ " sphinx>=7.3.5 " ,
4241]
4342optional-dependencies.test = [
4443 " 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" ,
4747]
4848urls.Documentation = " https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
4949urls.Homepage = " https://github.com/tox-dev/sphinx-argparse-cli"
@@ -62,33 +62,33 @@ line-length = 120
6262line-length = 120
6363target-version = " py38"
6464lint.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" ] }
6666lint.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
7272 " COM812" , # Conflict with formatter
7373 " ISC001" , # Conflict with formatter
7474 " CPY" , # No copyright statements
7575]
7676[tool .ruff .lint .per-file-ignores ]
7777"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
8585 " PLR0913" , # any number of arguments in tests
8686 " PLR0917" , # any number of arguments in tests
8787 " PLC2701" , # private import
8888]
8989"roots/**/*.py" = [
90- " INP001" , # no namespace
91- " D" , # no docs
90+ " INP001" , # no namespace
91+ " D" , # no docs
9292]
9393
9494[tool .codespell ]
0 commit comments