docs: cleanup: Rephrase and correct typos
[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 CC
11 C_INCLUDE_PATH
12 LIBRARY_PATH
13 TERM
14 TERMINFO
15
16 [testenv:tests]
17 changedir = tests
18 commands =
19 poetry install -v
20 poetry run py.test -v .
21
22 [testenv:flake8]
23 commands =
24 poetry install -v
25 poetry run flake8 barectf
26
27 [flake8]
28 # E123, E125 skipped as they are invalid PEP-8.
29 # also ignore E501 because barectf has very long lines
30 show-source = True
31 ignore = E123,E125,E501
32 builtins = _
33 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
34
35 [testenv:pylint]
36 commands =
37 poetry install -v
38 poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf
39
40 [testenv:mypy]
41 commands =
42 poetry install -v
43 poetry run mypy barectf
This page took 0.029813 seconds and 4 git commands to generate.