File: tox.ini

package info (click to toggle)
barectf 3.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,840 kB
  • sloc: python: 3,781; ansic: 1,585; makefile: 45; sh: 11
file content (40 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
minversion = 3.18
isolated_build = true
envlist = tests
skipsdist = True

[testenv]
allowlist_externals = poetry
passenv =
    TERM
    TERMINFO

[testenv:tests]
changedir = tests
commands =
    poetry install -v
    poetry run py.test -v .

[testenv:flake8]
commands =
    poetry install -v
    poetry run flake8 barectf

[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# also ignore E501 because barectf has very long lines
show-source = True
ignore = E123,E125,E501
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,templates.py

[testenv:pylint]
commands =
    poetry install -v
    poetry run pylint -f colorized -d all -e E,W -d W0212,W1618,W0622,W0201,W0703 barectf

[testenv:mypy]
commands =
    poetry install -v
    poetry run mypy barectf