summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2020-01-21 16:12:41 +0100
committerAntoine Musso <hashar@free.fr>2020-04-02 10:58:30 +0200
commit958390524498b3b81d5a97d0203a22a72db32e65 (patch)
tree320f39951321a8efd6a10bb19372f52543fbbe68
parent2625a6f3f7250a574455236b6aa1415536d6319c (diff)
downloadzuul-958390524498b3b81d5a97d0203a22a72db32e65.tar.gz
tox: do not install bindep for linters
The binary dpeendencies are not needed to run flake8, mypy or openapi-spec-validator. Change-Id: I373b503f90b05183a3ad39b1707259068c5d4cc5
-rw-r--r--.zuul.yaml8
-rw-r--r--tox.ini1
2 files changed, 7 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index c1f155144..f725ae3ca 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -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
diff --git a/tox.ini b/tox.ini
index 103a92cf7..1811c3ab3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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