Add dynamic array tracing tests
[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
af01d03f 15 poetry run py.test -v .
e4a45a26 16
4d112ec8 17[testenv:flake8]
37e91823
PP
18commands =
19 poetry install -v
20 poetry run flake8 barectf
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 25show-source = True
2b8fd176 26ignore = E123,E125,E501
e4a45a26 27builtins = _
7dde2a1c 28exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
e4a45a26 29
c51a558f 30[testenv:pylint]
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
61ea6662
PP
34
35[testenv:mypy]
36commands =
37 poetry install -v
38 poetry run mypy barectf
This page took 0.024069 seconds and 4 git commands to generate.