Migrate to flake8.
Fixes bug 1172444. Change-Id: Icec0820d0f780ed9473218b7e46e29c1e3db6541
This commit is contained in:
@@ -14,7 +14,7 @@ deps = -r{toxinidir}/tools/pip-requires
|
||||
commands = python setup.py testr --testr-args='{posargs}'
|
||||
|
||||
[testenv:pep8]
|
||||
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
|
||||
commands = flake8
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
@@ -24,3 +24,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[flake8]
|
||||
ignore = F,H
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg
|
||||
|
||||
Reference in New Issue
Block a user