Merge "Switch from pep8 to flake8/hacking."
This commit is contained in:
commit
aa8afcf47d
13
tox.ini
13
tox.ini
@ -23,13 +23,10 @@ deps=
|
||||
discover
|
||||
argparse
|
||||
|
||||
[pep8]
|
||||
ignore = E125
|
||||
|
||||
[testenv:pep8]
|
||||
deps = pep8
|
||||
deps = hacking>=0.5.3,<0.6
|
||||
commands =
|
||||
pep8 --repeat --show-source --exclude=.venv,.tox,doc .
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user