summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-03 12:20:48 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-03 12:20:48 -0500
commitc496b6a11d504ef62371cb5e03ac80b4ceb37540 (patch)
tree086cf1486afe43ed385edc635593e3ec8957d534 /tox.ini
parent97efb9d48197d7098f1abe2ee519418afbe6aec5 (diff)
downloadvyos-cloud-init-c496b6a11d504ef62371cb5e03ac80b4ceb37540.tar.gz
vyos-cloud-init-c496b6a11d504ef62371cb5e03ac80b4ceb37540.zip
run pyflakes in more places, fix fallout
this makes 'make' run pyflakes, so failures there will stop a build. also adds it to tox.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index b72df0c9..fd65f6ef 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py3
+envlist = py27,py3,pyflakes
recreate = True
[testenv]
@@ -10,6 +10,10 @@ deps = -r{toxinidir}/test-requirements.txt
[testenv:py3]
basepython = python3
+[testenv:pyflakes]
+basepython = python3
+commands = {envpython} -m pyflakes {posargs:cloudinit/ tests/ tools/}
+
# https://github.com/gabrielfalcao/HTTPretty/issues/223
setenv =
LC_ALL = en_US.utf-8