-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 968 Bytes
/
tox.ini
File metadata and controls
37 lines (34 loc) · 968 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
[tox]
# Sub-commands were introduced in v4. These are used in workflows and docs.
min_version = 4
envlist = py310, py311, py312, py313
isolated_build = true
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
description = Test environment for minor Python version
passenv = *
# Skip the local package install so that `poetry` can handle installing
# all of the dependencies and do so only from the `poetry.lock` lockfile.
skip_install = true
allowlist_externals = poetry
commands =
poetry about
poetry debug info
poetry check --lock --strict
poetry sync --verbose --with test
poetry run python -m pip list
poetry run pytest {posargs}
[testenv:qa]
description = Quality Assurance (QA) checks
commands =
poetry about
poetry debug info
poetry check --lock --strict
poetry sync --verbose --with qa
poetry run python -m pip list
poetry run pre-commit run --all-files --verbose