tox.ini: no `pep8` env by default, fix testenv:pep8 env
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 17 Oct 2017 21:30:40 +0000 (17:30 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 17 Oct 2017 21:30:40 +0000 (17:30 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 0cc5ee5217ff996a6ed2dc6a7bc6ec97c6d679a3..5cfe94aa6a8fe2c1dd053e13917a97e7cac2b67b 100644 (file)
--- 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
 
This page took 0.023387 seconds and 4 git commands to generate.