Merge branch 'tox' of https://github.com/mjeanson/barectf
[barectf.git] / tox.ini
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
12 whitelist_externals = bash
13 changedir = tests
14 commands = bash ./test.bash -t
15
16 [testenv:pep8]
17 commands = flake8 --ignore=E123,E125
18
19 [flake8]
20 # E123, E125 skipped as they are invalid PEP-8.
21
22 show-source = True
23 ignore = E123,E125
24 builtins = _
25 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
26
27 [testenv:pylint-errors]
28 deps = pylint >= 1.6
29 commands = pylint -f colorized -E barectf
30
31 [testenv:pylint-warnings]
32 deps = pylint >= 1.6
33 commands = pylint -f colorized -d all -e W -r n barectf
34
35 [testenv:pylint-full]
36 deps = pylint >= 1.6
37 commands = pylint -f colorized --disable=all -e R,E,W barectf
This page took 0.030459 seconds and 5 git commands to generate.