You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tox.ini
+9-34Lines changed: 9 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,20 @@ requires =
3
3
tox>=4
4
4
tox-uv
5
5
envlist =
6
-
py3{9,10,11,12}-{full,pre}
7
-
py39-min
6
+
py31{0,1,2,3,4}-{full,pre}
7
+
py310-min
8
8
style
9
9
spellcheck
10
10
skip_missing_interpreters = true
11
11
12
12
# Configuration that allows us to split tests across GitHub runners effectively
13
13
[gh-actions]
14
14
python =
15
-
3.9: py39
16
15
3.10: py310
17
16
3.11: py311
18
17
3.12: py312
18
+
3.13: py313
19
+
3.14: py314
19
20
20
21
[gh-actions:env]
21
22
DEPENDS =
@@ -46,6 +47,9 @@ pass_env =
46
47
CLICOLOR_FORCE
47
48
extras =
48
49
cli
50
+
runner =
51
+
full: uv-venv-lock-runner
52
+
!full: uv-venv-runner
49
53
dependency_groups =
50
54
test
51
55
uv_resolution =
@@ -60,20 +64,13 @@ commands =
60
64
--junitxml=test-results.xml {posargs}
61
65
coverage xml
62
66
63
-
[testenv:docs]
64
-
description = Build documentation site
65
-
labels = docs
66
-
allowlist_externals = make
67
-
extras = doc
68
-
commands =
69
-
make -C doc html
70
-
71
67
[testenv:style{,-fix}]
72
68
description = Check and attempt to fix style
73
69
labels = check
74
70
deps =
75
71
ruff
76
72
skip_install = true
73
+
runner = uv-venv-runner
77
74
commands =
78
75
fix: ruff check --fix src/
79
76
fix: ruff format src/
@@ -86,29 +83,7 @@ labels = check
86
83
deps =
87
84
codespell[toml]
88
85
skip_install = true
86
+
runner = uv-venv-runner
89
87
commands =
90
88
fix: codespell -w {posargs}
91
89
!fix: codespell {posargs}
92
-
93
-
[testenv:build{,-strict}]
94
-
labels =
95
-
check
96
-
pre-release
97
-
deps =
98
-
build
99
-
twine
100
-
skip_install = true
101
-
set_env =
102
-
build-strict: PYTHONWARNINGS=error,once:Unimplemented abstract methods {'locate_file'}:DeprecationWarning:pip._internal.metadata.importlib._dists,once:pkg_resources is deprecated as an API.:DeprecationWarning:pip._internal.metadata.importlib._envs
0 commit comments