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