Browse Source

Decouple mypy from tox

This allows mypy to produce the same results regardless how is called.
For example IDEs will produce the same results as tox -e linters
instead of displaying violations which the core team decided to
disable.

Change-Id: I20eeafc0549f78e3d4f9636793cfe031389b6bbe
changes/45/766245/2
Sorin Sbarnea 11 months ago
parent
commit
c911e26fa6
  1. 3
      setup.cfg
  2. 2
      tox.ini

3
setup.cfg

@ -61,3 +61,6 @@ zuul_base =
[mypy]
allow_redefinition = True
files = zuul
ignore_missing_imports = True
python_version = 3.6

2
tox.ini

@ -59,7 +59,7 @@ deps =
openapi-spec-validator
commands =
flake8 {posargs}
mypy --ignore-missing-imports zuul
mypy
openapi-spec-validator web/public/openapi.yaml
[testenv:cover]

Loading…
Cancel
Save