summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/third_party/websockets/tox.ini
blob: 825e34061ff6458db805c4ccda6a3212467540d0 (plain)
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
[tox]
envlist = py36,py37,py38,coverage,black,flake8,isort,mypy

[testenv]
commands = python -W default -m unittest {posargs}

[testenv:coverage]
commands =
    python -m coverage erase
    python -W default -m coverage run -m unittest {posargs}
    python -m coverage report --show-missing --fail-under=100
deps = coverage

[testenv:black]
commands = black --check src tests
deps = black

[testenv:flake8]
commands = flake8 src tests
deps = flake8

[testenv:isort]
commands = isort --check-only --recursive src tests
deps = isort

[testenv:mypy]
commands = mypy --strict src
deps = mypy