Skip to content

Commit 3b03511

Browse files
committed
Run the static env with Python 3.10
Remove a defunct `basepython` and Use the oldest supported for static checks.
1 parent c1d5196 commit 3b03511

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎tox.ini‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ envlist =
1313

1414
[gh-actions]
1515
python =
16-
3.10: py310-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
16+
3.10: py310-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}, static, publish
1717
3.11: py311-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
18-
3.12: py312-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}, static, publish
18+
3.12: py312-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
1919
3.13: py313-pytest{7.0, 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{1.0, 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
2020
3.14: py314-pytest{ 7.x, 8.0, 8.x, 9.0, 9.x}-mypy{ 1.x, 2.0, 2.x}-xdist{2.0, 2.x, 3.0, 3.x}
2121

@@ -63,7 +63,6 @@ commands =
6363
twine {posargs:check} {envtmpdir}/*
6464

6565
[testenv:static]
66-
basepython = py312 # pytest.Node.from_parent uses typing.Self
6766
deps =
6867
bandit ~= 1.9.0
6968
black ~= 26.5.0

0 commit comments

Comments
 (0)