summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-05-11 13:41:52 -0400
committerMonty Taylor <mordred@inaugust.com>2013-05-11 14:34:54 -0400
commita1eeee7f6c2f4cf766770fb11e511a356707d795 (patch)
tree207b718c98c10803d573a9c3102afd86c8e6bca6 /tox.ini
parent5c67cda719bcfd5ba23f51277aeb38c03e070e81 (diff)
downloadheat-cfntools-a1eeee7f6c2f4cf766770fb11e511a356707d795.tar.gz
Migrate to flake8.
Fixes bug 1172444 Change-Id: I68d5e58f6992f7357e3bb4f72ae40d0ebe076d4b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 6 insertions, 8 deletions
diff --git a/tox.ini b/tox.ini
index f0b8128..33e33d7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,10 +15,7 @@ sitepackages = True
downloadcache = ~/cache/pip
[testenv:pep8]
-deps=
- pep8==1.3.3
- pyflakes
-commands = bash tools/run_pep8.sh
+commands = flake8
[testenv:pylint]
setenv = VIRTUAL_ENV={envdir}
@@ -26,10 +23,6 @@ deps = -r{toxinidir}/tools/pip-requires
pylint==0.26.0
commands = bash tools/lintstack.sh
-[testenv:pyflakes]
-deps = pyflakes
-commands = python tools/flakes.py heat_cfntools
-
[testenv:cover]
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
@@ -39,3 +32,8 @@ commands =
[testenv:venv]
commands = {posargs}
+
+[flake8]
+show-source = true
+builtins = _
+exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools