"]
foo_param = dedent("\n".join(contents_lines[list_item_idxs[0] : list_item_idxs[1]]))
expected_foo_param = """\
@@ -838,7 +841,7 @@ def test_resolve_typing_guard_attrs_imports(app: SphinxTestApp, status: StringIO
def test_no_source_code_type_guard() -> None:
- from csv import Error
+ from csv import Error # noqa: PLC0415
_resolve_type_guarded_imports([], Error)
diff --git a/tests/test_version.py b/tests/test_version.py
index 3c82061..1a97405 100644
--- a/tests/test_version.py
+++ b/tests/test_version.py
@@ -2,6 +2,6 @@
def test_version() -> None:
- from sphinx_autodoc_typehints import __version__
+ from sphinx_autodoc_typehints import __version__ # noqa: PLC0415
assert __version__
diff --git a/tox.ini b/tox.ini
index 495e497..398d5b0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,6 @@ env_list =
py310
py39
py38
- py37
type
coverage
readme
@@ -39,7 +38,7 @@ commands =
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
skip_install = true
deps =
- pre-commit>=3.5
+ pre-commit>=3.6.2
commands =
pre-commit run --all-files --show-diff-on-failure
@@ -51,8 +50,8 @@ extras =
[testenv:type]
description = run type check on code base
deps =
- mypy==1.7.1
- types-docutils>=0.20.0.3
+ mypy==1.8
+ types-docutils>=0.20.0.20240304
set_env =
{tty:MYPY_FORCE_COLOR = 1}
commands =
@@ -64,8 +63,8 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
skip_install = true
deps =
covdefaults>=2.3
- coverage>=7.3.2
- diff-cover>=8.0.1
+ coverage>=7.4.3
+ diff-cover>=8.0.3
extras =
parallel_show_output = true
pass_env =
@@ -84,14 +83,13 @@ depends =
py310
py39
py38
- py37
[testenv:readme]
description = check that the long description is valid (need for PyPI)
skip_install = true
deps =
- build[virtualenv]>=1.0.3
- twine>=4.0.2
+ build[virtualenv]>=1.1.1
+ twine>=5
extras =
commands =
pyproject-build -o {envtmpdir} --wheel --sdist .
@@ -103,3 +101,4 @@ package = editable
commands =
python -m pip list --format=columns
python -c 'import sys; print(sys.executable)'
+uv_seed = true
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy