-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (37 loc) · 741 Bytes
/
tox.ini
File metadata and controls
40 lines (37 loc) · 741 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
[tox]
env_list =
check
{py39,py310,py311,py312,py313,pypy3}
skipsdist = True
[gh-actions]
python =
3.9: check, py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
basepython =
pypy3: pypy3
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
check: python3
setenv =
PYTHONUNBUFFERED = yes
PYTEST_EXTRA_ARGS = -s
deps =
-r{toxinidir}/requirements.txt
commands =
pytest {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {posargs:-vv}
[testenv:check]
description = perform style checks
deps =
build
pre-commit
skip_install = true
commands =
pre-commit install
pre-commit run --all-files --show-diff-on-failure