Skip to content

Commit

Permalink
tox.ini: no pep8 env by default, fix testenv:pep8 env
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
  • Loading branch information
eepp committed Oct 17, 2017
1 parent dc66719 commit 2b8fd17
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 1.9
envlist = py3,pep8
envlist = tests
skipsdist = True
toxworkdir = {env:TOXWORKDIR:.tox}

Expand All @@ -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

Expand Down

0 comments on commit 2b8fd17

Please sign in to comment.