barectf/__init__.py: build version string instead of parsing it
[barectf.git] / tox.ini
CommitLineData
e4a45a26
MJ
1[tox]
2minversion = 1.9
2b8fd176 3envlist = tests
e4a45a26
MJ
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 13whitelist_externals = bash
2b8fd176
PP
14
15[testenv:tests]
e4a45a26
MJ
16changedir = tests
17commands = bash ./test.bash -t
18
19[testenv:pep8]
2b8fd176 20commands = flake8
e4a45a26
MJ
21
22[flake8]
23# E123, E125 skipped as they are invalid PEP-8.
2b8fd176 24# also ignore E501 because barectf has very long lines
e4a45a26
MJ
25
26show-source = True
2b8fd176 27ignore = E123,E125,E501
e4a45a26
MJ
28builtins = _
29exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
30
31[testenv:pylint-errors]
32deps = pylint >= 1.6
33commands = pylint -f colorized -E barectf
34
35[testenv:pylint-warnings]
36deps = pylint >= 1.6
37commands = pylint -f colorized -d all -e W -r n barectf
38
39[testenv:pylint-full]
40deps = pylint >= 1.6
41commands = pylint -f colorized --disable=all -e R,E,W barectf
This page took 0.024509 seconds and 4 git commands to generate.