Skip to content

Commit

Permalink
condense tox lint envs as linting now a pre-commit call, not tox
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Oct 27, 2023
1 parent 8d5d92d commit 885bef7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 885bef7

Please sign in to comment.