tox.ini: no `pep8` env by default, fix testenv:pep8 env
[barectf.git] / tox.ini
1 [tox]
2 minversion = 1.9
3 envlist = tests
4 skipsdist = True
5 toxworkdir = {env:TOXWORKDIR:.tox}
6
7 [testenv]
8 setenv =
9 PYTHONPATH = {env:PYTHONPATH:}
10 deps = -r{toxinidir}/requirements.txt
11 -r{toxinidir}/test-requirements.txt
12 usedevelop = true
13 whitelist_externals = bash
14
15 [testenv:tests]
16 changedir = tests
17 commands = bash ./test.bash -t
18
19 [testenv:pep8]
20 commands = flake8
21
22 [flake8]
23 # E123, E125 skipped as they are invalid PEP-8.
24 # also ignore E501 because barectf has very long lines
25
26 show-source = True
27 ignore = E123,E125,E501
28 builtins = _
29 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
30
31 [testenv:pylint-errors]
32 deps = pylint >= 1.6
33 commands = pylint -f colorized -E barectf
34
35 [testenv:pylint-warnings]
36 deps = pylint >= 1.6
37 commands = pylint -f colorized -d all -e W -r n barectf
38
39 [testenv:pylint-full]
40 deps = pylint >= 1.6
41 commands = pylint -f colorized --disable=all -e R,E,W barectf
This page took 0.030442 seconds and 5 git commands to generate.