codegen.py: add type hints
[deliverable/barectf.git] / tox.ini
1 [tox]
2 minversion = 3.3
3 isolated_build = true
4 envlist = tests
5 skipsdist = True
6
7 [testenv]
8 whitelist_externals = poetry
9 passenv = TERM TERMINFO
10
11 [testenv:tests]
12 changedir = tests
13 commands =
14 poetry install -v
15 poetry run bash ./test.bash -t
16
17 [testenv:flake8]
18 deps = flake8 >= 2.5
19 commands = flake8 barectf
20
21 [flake8]
22 # E123, E125 skipped as they are invalid PEP-8.
23 # also ignore E501 because barectf has very long lines
24 show-source = True
25 ignore = E123,E125,E501
26 builtins = _
27 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
28
29 [testenv:pylint]
30 deps = pylint >= 1.6
31 commands =
32 poetry install -v
33 poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf
This page took 0.02921 seconds and 4 git commands to generate.