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:
Sorin Sbarnea 2019-07-13 12:01:47 +01:00
parent 073e7bb5e5
commit 7754995474
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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]