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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
[tox]
envlist =
black
pep8
pep8h
mypy
pylint
skipsdist = True
[defs]
pyfiles =
wmseq
[testenv:black]
deps =
black >= 22, < 23
commands =
black --check {[defs]pyfiles}
[testenv:black-reformat]
deps =
black >= 22, < 23
commands =
black {[defs]pyfiles}
[testenv:pep8]
deps =
flake8
commands =
flake8 {[defs]pyfiles}
[testenv:pep8h]
deps =
flake8
hacking >= 4
commands =
flake8 {[defs]pyfiles}
[testenv:mypy]
deps =
mypy
commands =
mypy {[defs]pyfiles}
[testenv:pylint]
deps =
pylint
commands =
pylint {[defs]pyfiles}
[testenv:functional]
deps =
allowlist_externals =
xvfb-run
commands =
xvfb-run -a -- python3 -u wmseq
|