Fix: remove import cycles from `config.py`
[deliverable/barectf.git] / tox.ini
CommitLineData
e4a45a26 1[tox]
f4286907
PP
2minversion = 3.3
3isolated_build = true
2b8fd176 4envlist = tests
e4a45a26 5skipsdist = True
e4a45a26
MJ
6
7[testenv]
f4286907
PP
8whitelist_externals = poetry
9passenv = TERM TERMINFO
2b8fd176
PP
10
11[testenv:tests]
e4a45a26 12changedir = tests
f4286907
PP
13commands =
14 poetry install -v
15 poetry run bash ./test.bash -t
e4a45a26 16
4d112ec8 17[testenv:flake8]
f4286907 18deps = flake8 >= 2.5
5f33fcf5 19commands = flake8 barectf
e4a45a26
MJ
20
21[flake8]
22# E123, E125 skipped as they are invalid PEP-8.
2b8fd176 23# also ignore E501 because barectf has very long lines
e4a45a26 24show-source = True
2b8fd176 25ignore = E123,E125,E501
e4a45a26 26builtins = _
7dde2a1c 27exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
e4a45a26 28
c51a558f 29[testenv:pylint]
e4a45a26 30deps = pylint >= 1.6
f4286907
PP
31commands =
32 poetry install -v
c51a558f 33 poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf
This page took 0.02355 seconds and 4 git commands to generate.