diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-05-12 16:43:11 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-05-12 16:43:11 -0400 |
commit | 4ba4df2f00ab1763920280f76e2b4497898858af (patch) | |
tree | f025371acd895680336026ebdff7ffa8a4db25d3 /tox.ini | |
parent | f6b318947d0be752e7c93708413929802006a66e (diff) | |
download | vyos-cloud-init-4ba4df2f00ab1763920280f76e2b4497898858af.tar.gz vyos-cloud-init-4ba4df2f00ab1763920280f76e2b4497898858af.zip |
run flake8 instead of pyflakes in tox. expect tests/ to pass flake8.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py27,py3,pyflakes +envlist = py27,py3,flake8 recreate = True [testenv] @@ -10,10 +10,9 @@ deps = -r{toxinidir}/test-requirements.txt [testenv:py3] basepython = python3 -[testenv:pyflakes] +[testenv:flake8] basepython = python3 -commands = {envpython} -m pyflakes {posargs:cloudinit/ tests/ tools/} - {envpython} -m pep8 {posargs:cloudinit/ tests/ tools/} +commands = {envpython} -m flake8 {posargs:cloudinit/ tests/ tools/} # https://github.com/gabrielfalcao/HTTPretty/issues/223 setenv = @@ -32,6 +31,5 @@ setenv = LC_ALL = C [flake8] - ignore=H404,H405,H105,H301,H104,H403,H101 -exclude = .venv,.tox,dist,doc,*egg,.git,build,tools,tests +exclude = .venv,.tox,dist,doc,*egg,.git,build,tools |