Permalink
Browse files

tox.ini: no `pep8` env by default, fix testenv:pep8 env

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
  • Loading branch information...
eepp committed Oct 17, 2017
1 parent dc66719 commit 2b8fd176c66b3dcabc920eda21f352c7e26383e0
Showing with 6 additions and 3 deletions.
  1. +6 −3 tox.ini
View
@@ -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

0 comments on commit 2b8fd17

Please sign in to comment.