From: Philippe Proulx Date: Tue, 17 Oct 2017 21:30:40 +0000 (-0400) Subject: tox.ini: no `pep8` env by default, fix testenv:pep8 env X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2b8fd176c66b3dcabc920eda21f352c7e26383e0;p=deliverable%2Fbarectf.git tox.ini: no `pep8` env by default, fix testenv:pep8 env Signed-off-by: Philippe Proulx --- diff --git a/tox.ini b/tox.ini index 0cc5ee5..5cfe94a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.9 -envlist = py3,pep8 +envlist = tests skipsdist = True toxworkdir = {env:TOXWORKDIR:.tox} @@ -11,17 +11,20 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt usedevelop = true whitelist_externals = bash + +[testenv:tests] changedir = tests commands = bash ./test.bash -t [testenv:pep8] -commands = flake8 --ignore=E123,E125 +commands = flake8 [flake8] # E123, E125 skipped as they are invalid PEP-8. +# also ignore E501 because barectf has very long lines show-source = True -ignore = E123,E125 +ignore = E123,E125,E501 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build