fix: Update pyyaml to avoid build failures with cython 3
[barectf.git] / tox.ini
CommitLineData
e4a45a26 1[tox]
e15e1ff2 2minversion = 3.18
f4286907 3isolated_build = true
2b8fd176 4envlist = tests
e4a45a26 5skipsdist = True
e4a45a26
MJ
6
7[testenv]
e15e1ff2
MJ
8allowlist_externals = poetry
9passenv =
10 TERM
11 TERMINFO
2b8fd176
PP
12
13[testenv:tests]
e4a45a26 14changedir = tests
f4286907
PP
15commands =
16 poetry install -v
af01d03f 17 poetry run py.test -v .
e4a45a26 18
4d112ec8 19[testenv:flake8]
37e91823
PP
20commands =
21 poetry install -v
22 poetry run flake8 barectf
e4a45a26
MJ
23
24[flake8]
25# E123, E125 skipped as they are invalid PEP-8.
2b8fd176 26# also ignore E501 because barectf has very long lines
e4a45a26 27show-source = True
2b8fd176 28ignore = E123,E125,E501
e4a45a26 29builtins = _
7dde2a1c 30exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
e4a45a26 31
c51a558f 32[testenv:pylint]
f4286907
PP
33commands =
34 poetry install -v
c51a558f 35 poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf
61ea6662
PP
36
37[testenv:mypy]
38commands =
39 poetry install -v
40 poetry run mypy barectf
This page took 0.024484 seconds and 4 git commands to generate.