jeepyb/tox.ini
Monty Taylor 96ca93b2e3 Just use flake8 instead of hacking
We don't use hacking in Infra. Use flake8 instead.

Change-Id: I04ac08a0c4218398b43e906a6d65f75b3ff104c3
2020-03-24 15:00:12 -05:00

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