docs: cleanup: Rephrase and correct typos
[barectf.git] / tox.ini
... / ...
CommitLineData
1[tox]
2minversion = 3.18
3isolated_build = true
4envlist = tests
5skipsdist = True
6
7[testenv]
8allowlist_externals = poetry
9passenv =
10 CC
11 C_INCLUDE_PATH
12 LIBRARY_PATH
13 TERM
14 TERMINFO
15
16[testenv:tests]
17changedir = tests
18commands =
19 poetry install -v
20 poetry run py.test -v .
21
22[testenv:flake8]
23commands =
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
30show-source = True
31ignore = E123,E125,E501
32builtins = _
33exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
34
35[testenv:pylint]
36commands =
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]
41commands =
42 poetry install -v
43 poetry run mypy barectf
This page took 0.021973 seconds and 4 git commands to generate.