summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-05-18 07:13:38 -0700
committerMonty Taylor <mordred@inaugust.com>2013-05-25 08:22:39 +0200
commit9d4db6f740fe00f50c77920b5ef7a4fbd08d181f (patch)
treeb3e880fb7597dd733801821a6e35a2662dabb972 /tox.ini
parent1a0b7b0a649657e2662e62f17322f61e8d7e9ed3 (diff)
downloadpython-novaclient-9d4db6f740fe00f50c77920b5ef7a4fbd08d181f.tar.gz
Migrate to flake8.
Fixes bug 1172444. Change-Id: I0d8faa0819738456a28aaf5cc859f510a2b3ed68
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 6 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 464e7859..3318c089 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,10 +12,7 @@ deps = -r{toxinidir}/tools/pip-requires
commands = python setup.py testr --testr-args='{posargs}'
[testenv:pep8]
-deps = pep8==1.3.3
-commands =
- pep8 --ignore=E12,E711,E721,E712 --show-source \
- --exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build .
+commands = flake8
[testenv:venv]
commands = {posargs}
@@ -25,3 +22,8 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip
+
+[flake8]
+ignore = E12,E711,E721,E712,F,H
+show-source = True
+exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build