Skip to content

Commit 15f3269

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 27ceacb commit 15f3269

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

tox.toml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,24 @@ commands = [
5555
],
5656
]
5757

58+
[env."3.15t"]
59+
skip_install = true
60+
# meson-python refuses the limited API on a free-threaded interpreter, and the package asks for it by default, so
61+
# this build opts out and takes a wheel tagged for this interpreter alone.
62+
commands_pre = [
63+
[
64+
"uv",
65+
"pip",
66+
"install",
67+
"--python",
68+
"{env_python}",
69+
"--reinstall",
70+
"--config-settings",
71+
"setup-args=-Dpython.allow_limited_api=false",
72+
".[test]",
73+
],
74+
]
75+
5876
[env.docs]
5977
description = "build documentation"
6078
dependency_groups = [ "docs" ]
@@ -126,17 +144,8 @@ commands = [
126144
],
127145
]
128146

129-
[env.release]
130-
description = "build the changelog for the next release, then commit and tag it"
131-
skip_install = true
132-
deps = [ "towncrier>=25.8" ]
133-
pass_env = [ "GH_TOKEN" ]
134-
commands = [ [ "python", "{tox_root}{/}tools{/}release.py", { replace = "posargs", extend = true } ] ]
135-
136-
[env."3.15t"]
147+
[env."pypy-3.11"]
137148
skip_install = true
138-
# meson-python refuses the limited API on a free-threaded interpreter, and the package asks for it by default, so
139-
# this build opts out and takes a wheel tagged for this interpreter alone.
140149
commands_pre = [
141150
[
142151
"uv",
@@ -145,22 +154,13 @@ commands_pre = [
145154
"--python",
146155
"{env_python}",
147156
"--reinstall",
148-
"--config-settings",
149-
"setup-args=-Dpython.allow_limited_api=false",
150157
".[test]",
151158
],
152159
]
153160

154-
[env."pypy-3.11"]
161+
[env.release]
162+
description = "build the changelog for the next release, then commit and tag it"
155163
skip_install = true
156-
commands_pre = [
157-
[
158-
"uv",
159-
"pip",
160-
"install",
161-
"--python",
162-
"{env_python}",
163-
"--reinstall",
164-
".[test]",
165-
],
166-
]
164+
deps = [ "towncrier>=25.8" ]
165+
pass_env = [ "GH_TOKEN" ]
166+
commands = [ [ "python", "{tox_root}{/}tools{/}release.py", { replace = "posargs", extend = true } ] ]

0 commit comments

Comments
 (0)