-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
51 lines (46 loc) · 848 Bytes
/
tox.ini
File metadata and controls
51 lines (46 loc) · 848 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
45
46
47
48
49
50
51
[tox]
requires =
tox>=4
tox-uv
envlist =
py314{,t}-{latest,min}
typecheck
skip_missing_interpreters = true
[gh-actions]
python =
3.14: py314
3.14t: py314t
[gh-actions:env]
DEPENDS =
latest: latest
min: min
[testenv]
description = Pytest with coverage
runner =
latest: uv-venv-lock-runner
!latest: uv-venv-runner
pass_env =
# Pass user color preferences through
PY_COLORS
FORCE_COLOR
NO_COLOR
CLICOLOR
CLICOLOR_FORCE
package = editable
set_env =
py3{13-15}t: PYTHONGIL={env:PYTHONGIL:0}
dependency_groups = test
uv_resolution =
min: lowest-direct
commands =
pytest --doctest-modules -svv \
--cov src --cov tests --cov-report xml:cov.xml \
{posargs}
[testenv:typecheck]
description = Check type consistency
runner = uv-venv-lock-runner
dependency_groups =
test
types
commands =
mypy src tests