-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.toml
More file actions
33 lines (27 loc) · 838 Bytes
/
tox.toml
File metadata and controls
33 lines (27 loc) · 838 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
requires = ["tox>=4"]
envlist = [
"py312-lowest",
"py312",
"py313",
"pre-commit"
]
[gh.python]
"3.13" = ["3.13"]
"3.12" = ["3.12"]
[env_run_base]
runner = "uv-venv-lock-runner"
description = "Run tests with *latest* compatible dependency versions"
dependency_groups = ["dev", "test"]
commands = [["pytest", { replace = "posargs", default = ["tests"], extend = true}]]
[env.py311-lowest]
description = "Run tests with *lowest* compatible dependency versions"
runner = "uv-venv-runner"
uv_resolution = "lowest-direct"
[env.py312-lowest]
description = "Run tests with *lowest* compatible dependency versions"
runner = "uv-venv-runner"
uv_resolution = "lowest-direct"
[env.pre-commit]
description = "Run pre-commit hooks"
deps = ["pre-commit"]
commands = [["pre-commit", "run", "--all-files", "--show-diff-on-failure"]]