tox.ini: rename `pep8` environment to `flake8`
[barectf.git] / tox.ini
CommitLineData
e4a45a26 1[tox]
f4286907
PP
2minversion = 3.3
3isolated_build = true
2b8fd176 4envlist = tests
e4a45a26 5skipsdist = True
e4a45a26
MJ
6
7[testenv]
f4286907
PP
8whitelist_externals = poetry
9passenv = TERM TERMINFO
2b8fd176
PP
10
11[testenv:tests]
e4a45a26 12changedir = tests
f4286907
PP
13commands =
14 poetry install -v
15 poetry run bash ./test.bash -t
e4a45a26 16
4d112ec8 17[testenv:flake8]
f4286907 18deps = flake8 >= 2.5
5f33fcf5 19commands = flake8 barectf
e4a45a26
MJ
20
21[flake8]
22# E123, E125 skipped as they are invalid PEP-8.
2b8fd176 23# also ignore E501 because barectf has very long lines
e4a45a26 24show-source = True
2b8fd176 25ignore = E123,E125,E501
e4a45a26 26builtins = _
7dde2a1c 27exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py
e4a45a26
MJ
28
29[testenv:pylint-errors]
30deps = pylint >= 1.6
f4286907
PP
31commands =
32 poetry install -v
33 poetry run pylint -f colorized -E barectf
e4a45a26
MJ
34
35[testenv:pylint-warnings]
36deps = pylint >= 1.6
f4286907
PP
37commands =
38 poetry install -v
39 poetry run pylint -f colorized -d all -e W -r n barectf
e4a45a26
MJ
40
41[testenv:pylint-full]
42deps = pylint >= 1.6
f4286907
PP
43commands =
44 poetry install -v
45 poetry run pylint -f colorized --disable=all -e R,E,W barectf
This page took 0.025472 seconds and 4 git commands to generate.