96ca93b2e3
We don't use hacking in Infra. Use flake8 instead. Change-Id: I04ac08a0c4218398b43e906a6d65f75b3ff104c3
25 lines
439 B
INI
25 lines
439 B
INI
[tox]
|
|
envlist = pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
basepython = python3
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:pyflakes]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
# E125 and H are intentionally ignored
|
|
# W503 is a mistake in flake8
|
|
ignore = E125,H,W503,W504
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,build,*.egg
|