Skip to content

Commit d6aa8e0

Browse files
committed
Bump tox-toml-fmt to v1.7.2
Fixes quoted env key handling — keys like "3.13t" are now correctly expanded into separate table sections.
1 parent 8c20525 commit d6aa8e0

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: codespell
1616
args: ["--write-changes"]
1717
- repo: https://github.com/tox-dev/tox-toml-fmt
18-
rev: "v1.7.0"
18+
rev: "v1.7.2"
1919
hooks:
2020
- id: tox-toml-fmt
2121
- repo: https://github.com/tox-dev/pyproject-fmt

tox.toml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ commands = [
6262
]
6363
uv_seed = true
6464

65-
[env]
66-
"3.13t".base_python = { replace = "env", name = "TOX_BASEPYTHON" }
67-
"3.14t".base_python = { replace = "env", name = "TOX_BASEPYTHON" }
68-
"type-3.8".description = "run type checker (ty) against Python 3.8"
69-
"type-3.8".commands = [ [ "python", "-m", "ty", "check", "src/virtualenv", "--python-version", "3.8" ] ]
70-
"type-3.8".base = [ "type" ]
71-
7265
[env.docs]
7366
description = "build documentation"
7467
extras = [ "docs" ]
@@ -161,3 +154,14 @@ skip_install = true
161154
deps = [ "packaging>=25" ]
162155
commands = [ [ "python", "tasks/make_zipapp.py" ] ]
163156
uv_seed = true
157+
158+
[env."3.13t"]
159+
base_python = { replace = "env", name = "TOX_BASEPYTHON" }
160+
161+
[env."3.14t"]
162+
base_python = { replace = "env", name = "TOX_BASEPYTHON" }
163+
164+
[env."type-3.8"]
165+
description = "run type checker (ty) against Python 3.8"
166+
commands = [ [ "python", "-m", "ty", "check", "src/virtualenv", "--python-version", "3.8" ] ]
167+
base = [ "type" ]

0 commit comments

Comments
 (0)