condense tox lint envs as linting now a pre-commit call, not tox

This commit is contained in:
pacrob
2023-10-27 12:13:12 -06:00
committed by Paul Robinson
parent 8d5d92ddd8
commit 885bef7b5e

10
tox.ini
View File

@ -28,19 +28,11 @@ extras=
docs
allowlist_externals=make,pre-commit
[common-lint]
basepython=python
[testenv:py{38,39,310,311}-lint]
deps=pre-commit
commands=
pre-commit run --all-files --show-diff-on-failure
[testenv:lint]
basepython: python
commands: {[common-lint]commands}
[testenv:py{38,39,310,311}-lint]
commands: {[common-lint]commands}
[testenv:py{38,39,310,311}-wheel]
deps=
wheel