summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-04-28 19:16:38 -0700
committerMonty Taylor <mordred@inaugust.com>2013-05-01 12:23:01 -0400
commit1eb2c29856fda85abbf7c06802b4fb09cc66bb41 (patch)
tree4206cd841e1e23dcd7a8e18571f6a069b3847d1b /tox.ini
parent000e33d0218b1e71d8798f3bd208f92cb89eaa7f (diff)
downloadpython-swiftclient-1eb2c29856fda85abbf7c06802b4fb09cc66bb41.tar.gz
Switch to flake8.
Change-Id: Ib9ba1e7eed09c5a90c558a8365d0a87c3f4b5ee5
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 8 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index e290e5d..363ba4f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,8 +12,9 @@ deps = -r{toxinidir}/tools/pip-requires
commands = python setup.py testr --testr-args="{posargs}"
[testenv:pep8]
-deps = pep8
-commands = pep8 --repeat --show-source --exclude=openstack swiftclient setup.py tests
+commands =
+ flake8
+ flake8 bin/swift
[testenv:venv]
commands = {posargs}
@@ -23,3 +24,8 @@ commands = python setup.py testr --coverage
[tox:jenkins]
downloadcache = ~/cache/pip
+
+[flake8]
+ignore = H
+show-source = True
+exclude = .venv,.tox,dist,doc,test,*egg