summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2020-01-21 16:01:50 +0100
committerAntoine Musso <hashar@free.fr>2020-01-21 16:05:18 +0100
commit73110b490998042c83475911d524468ce0186e93 (patch)
tree8e544021633a02c3b2668699dacd6c40a699af88 /tox.ini
parentb96b81000d2625f6db4b080b6c704e4dae1e350f (diff)
downloadzuul-73110b490998042c83475911d524468ce0186e93.tar.gz
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ba752e812..d7f03575f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,6 +52,10 @@ install_command = pip install {opts} {packages}
# --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
# type checking on the world - just on ourselves.
+deps =
+ flake8
+ mypy<0.650
+ openapi-spec-validator
commands =
flake8 {posargs}
mypy --ignore-missing-imports zuul