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