Commit | Line | Data |
---|---|---|
e4a45a26 MJ |
1 | [tox] |
2 | minversion = 1.9 | |
3 | envlist = py3,pep8 | |
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 | |
f800a73e | 12 | usedevelop = true |
e4a45a26 MJ |
13 | whitelist_externals = bash |
14 | changedir = tests | |
15 | commands = bash ./test.bash -t | |
16 | ||
17 | [testenv:pep8] | |
18 | commands = flake8 --ignore=E123,E125 | |
19 | ||
20 | [flake8] | |
21 | # E123, E125 skipped as they are invalid PEP-8. | |
22 | ||
23 | show-source = True | |
24 | ignore = E123,E125 | |
25 | builtins = _ | |
26 | exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build | |
27 | ||
28 | [testenv:pylint-errors] | |
29 | deps = pylint >= 1.6 | |
30 | commands = pylint -f colorized -E barectf | |
31 | ||
32 | [testenv:pylint-warnings] | |
33 | deps = pylint >= 1.6 | |
34 | commands = pylint -f colorized -d all -e W -r n barectf | |
35 | ||
36 | [testenv:pylint-full] | |
37 | deps = pylint >= 1.6 | |
38 | commands = pylint -f colorized --disable=all -e R,E,W barectf |