diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-03 12:20:48 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-03 12:20:48 -0500 |
commit | c496b6a11d504ef62371cb5e03ac80b4ceb37540 (patch) | |
tree | 086cf1486afe43ed385edc635593e3ec8957d534 /tox.ini | |
parent | 97efb9d48197d7098f1abe2ee519418afbe6aec5 (diff) | |
download | vyos-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.ini | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |