Debian Codegraph @

testing/web-platform/tests/tools/third_party/websockets/tox.ini

raw
1 [tox]
2 envlist =
3 py37
4 py38
5 py39
6 py310
7 py311
8 coverage
9 black
10 ruff
11 mypy
12
13 [testenv]
14 commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m unittest {posargs}
15
16 [testenv:coverage]
17 commands =
18 python -m coverage erase
19 python -m coverage run --source {envsitepackagesdir}/websockets,tests -m unittest {posargs}
20 python -m coverage report --show-missing --fail-under=100
21 deps = coverage
22
23 [testenv:maxi_cov]
24 commands =
25 python tests/maxi_cov.py {envsitepackagesdir}
26 python -m coverage report --show-missing --fail-under=100
27 deps = coverage
28
29 [testenv:black]
30 commands = black --check src tests
31 deps = black
32
33 [testenv:ruff]
34 commands = ruff src tests
35 deps = ruff
36
37 [testenv:mypy]
38 commands = mypy --strict src
39 deps = mypy