Browse Source

tox: do not install bindep for linters

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

Change-Id: I373b503f90b05183a3ad39b1707259068c5d4cc5
changes/36/703636/4
Antoine Musso 1 year ago
parent
commit
9583905244
2 changed files with 7 additions and 2 deletions
  1. +6
    -2
      .zuul.yaml
  2. +1
    -0
      tox.ini

+ 6
- 2
.zuul.yaml 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


+ 1
- 0
tox.ini 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


Loading…
Cancel
Save