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