tox: do not install bindep for linters

The binary dpeendencies are not needed to run flake8, mypy or
openapi-spec-validator.

Change-Id: I373b503f90b05183a3ad39b1707259068c5d4cc5
This commit is contained in:
Antoine Musso 2020-01-21 16:12:41 +01:00
parent 2625a6f3f7
commit 9583905244
2 changed files with 7 additions and 2 deletions

View File

@ -203,7 +203,9 @@
jobs:
- zuul-build-image
- zuul-tox-docs
- tox-linters
- tox-linters:
vars:
tox_install_bindep: false
- tox-py35:
irrelevant-files:
- zuul/cmd/migrate.py
@ -259,7 +261,9 @@
jobs:
- zuul-upload-image
- zuul-tox-docs
- tox-linters
- tox-linters:
vars:
tox_install_bindep: false
- tox-py35:
irrelevant-files:
- zuul/cmd/migrate.py

View File

@ -46,6 +46,7 @@ deps = bindep
commands = bindep test
[testenv:linters]
usedevelop = False
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