Merge "Switch from pep8 to flake8/hacking."

This commit is contained in:
Jenkins 2013-06-21 13:33:58 +00:00 committed by Gerrit Code Review
commit aa8afcf47d
1 changed files with 9 additions and 6 deletions

15
tox.ini
View File

@ -23,13 +23,10 @@ deps=
discover
argparse
[pep8]
ignore = E125
[testenv:pep8]
deps = pep8
commands =
pep8 --repeat --show-source --exclude=.venv,.tox,doc .
deps = hacking>=0.5.3,<0.6
commands =
flake8 {posargs}
[testenv:venv]
commands = {posargs}
@ -41,3 +38,9 @@ commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
[tox:jenkins]
downloadcache = ~/cache/pip
[flake8]
ignore = E125,F,H
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build