Migrate to flake8.
Fixes bug 1172444. Change-Id: Icec0820d0f780ed9473218b7e46e29c1e3db6541
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
distribute>=0.6.24
|
distribute>=0.6.24
|
||||||
|
|
||||||
|
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||||
|
pep8==1.4.5
|
||||||
|
pyflakes==0.7.2
|
||||||
|
flake8==2.0
|
||||||
|
hacking>=0.5.3,<0.6
|
||||||
|
|
||||||
coverage
|
coverage
|
||||||
discover
|
discover
|
||||||
mox
|
mox
|
||||||
mock>=0.8.0
|
mock>=0.8.0
|
||||||
pep8==1.3.3
|
|
||||||
setuptools-git>=0.4
|
setuptools-git>=0.4
|
||||||
sphinx>=1.1.2
|
sphinx>=1.1.2
|
||||||
testrepository>=0.0.13
|
testrepository>=0.0.13
|
||||||
|
7
tox.ini
7
tox.ini
@@ -14,7 +14,7 @@ deps = -r{toxinidir}/tools/pip-requires
|
|||||||
commands = python setup.py testr --testr-args='{posargs}'
|
commands = python setup.py testr --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
|
commands = flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@@ -24,3 +24,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore = F,H
|
||||||
|
show-source = True
|
||||||
|
exclude = .venv,.tox,dist,doc,*egg
|
||||||
|
Reference in New Issue
Block a user