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