[tox]
minversion = 1.9
-envlist = py3,pep8
+envlist = tests
skipsdist = True
toxworkdir = {env:TOXWORKDIR:.tox}
-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