tox: reduce deps used for pep8 env

Linters are only used by the 'pep8' virtual environment, we do not need
them in other test environment.  Also 'pep8' only requires the three
linters it used and the other modules are not needed.

Move the pep8 dependencies to the pep8 testenv.

Change-Id: I3a8436cbff9e2386cf0e0f5b0d1742283e647b56
This commit is contained in:
Antoine Musso 2020-01-21 16:01:50 +01:00
parent b96b81000d
commit 73110b4909
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,7 @@
flake8
openapi-spec-validator
coverage>=3.6 coverage>=3.6
fixtures>=0.3.14 fixtures>=0.3.14
stestr>=1.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0
testtools>=0.9.32 testtools>=0.9.32
PyMySQL PyMySQL
psycopg2-binary psycopg2-binary
mypy<0.650
beautifulsoup4 beautifulsoup4

View File

@ -52,6 +52,10 @@ install_command = pip install {opts} {packages}
# --ignore-missing-imports tells mypy to not try to follow imported modules # --ignore-missing-imports tells mypy to not try to follow imported modules
# out of the current tree. As you might expect, we don't want to run static # out of the current tree. As you might expect, we don't want to run static
# type checking on the world - just on ourselves. # type checking on the world - just on ourselves.
deps =
flake8
mypy<0.650
openapi-spec-validator
commands = commands =
flake8 {posargs} flake8 {posargs}
mypy --ignore-missing-imports zuul mypy --ignore-missing-imports zuul