-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
44 lines (39 loc) · 880 Bytes
/
tox.ini
File metadata and controls
44 lines (39 loc) · 880 Bytes
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
[tox]
envlist = py311, py311-bookworm, type, lint, coverage
skip_missing_interpreters = true
[testenv]
usedevelop = True
setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname}
extras = tests
commands = pytest --quiet --cov=ircstream
parallel_show_output = True
[testenv:py311-bookworm]
deps =
prometheus_client==0.16.0
structlog==22.3.0
[testenv:coverage]
skip_install = True
deps =
coverage[toml]
setenv = COVERAGE_FILE={toxworkdir}/.coverage
commands =
coverage erase
coverage combine
coverage report -m
coverage html -d {toxworkdir}/htmlcov
depends = py311
parallel_show_output = True
[testenv:type]
basepython = python3
extras = type
commands =
mypy .
parallel_show_output = True
[testenv:lint]
basepython = python3
extras = lint
commands =
validate-pyproject pyproject.toml
ruff check
ruff format --check
parallel_show_output = True