mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +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
|
docs
|
||||||
allowlist_externals=make,pre-commit
|
allowlist_externals=make,pre-commit
|
||||||
|
|
||||||
[common-lint]
|
[testenv:py{38,39,310,311}-lint]
|
||||||
basepython=python
|
|
||||||
deps=pre-commit
|
deps=pre-commit
|
||||||
commands=
|
commands=
|
||||||
pre-commit run --all-files --show-diff-on-failure
|
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]
|
[testenv:py{38,39,310,311}-wheel]
|
||||||
deps=
|
deps=
|
||||||
wheel
|
wheel
|
||||||
|
|||||||
Reference in New Issue
Block a user