Correct dependencies on tox linters
Linters only requirement is pre-commit, as the tools takes care of the rest. This speeds up linting and lowers disk footprint by removing unnecessary deps. Change-Id: I82b974a5257671bc2e8e987d0f556ddae345feea
This commit is contained in:
parent
073e7bb5e5
commit
7754995474
@ -12,4 +12,3 @@ stestr>=2.0.0 # Apache-2.0/BSD
|
||||
tox>=2.9.1 # MIT
|
||||
mock>=2.0 # BSD
|
||||
sphinxcontrib-programoutput
|
||||
pre-commit>=1.12.0
|
||||
|
4
tox.ini
4
tox.ini
@ -49,13 +49,15 @@ commands =
|
||||
|
||||
[testenv:linters]
|
||||
basepython = python3
|
||||
deps =
|
||||
pre-commit>=1.12.0
|
||||
commands =
|
||||
{[tox]install_test_deps}
|
||||
python -m pre_commit run --all
|
||||
|
||||
# points to linters, kept only for developer convenience
|
||||
[testenv:pep8]
|
||||
envdir={toxworkdir}/linters
|
||||
deps={[testenv:linters]deps}
|
||||
commands = {[testenv:linters]commands}
|
||||
|
||||
[testenv:pyflakes]
|
||||
|
Loading…
x
Reference in New Issue
Block a user