mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
condense tox lint envs as linting now a pre-commit call, not tox
This commit is contained in:
10
tox.ini
10
tox.ini
@ -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
|
||||
|
||||
Reference in New Issue
Block a user