Skip to content

Commit 15c384b

Browse files
mhsmithAA-Turner
andauthored
Reduce target-version to py312
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent f90d169 commit 15c384b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/test/.ruff.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extend = "../../.ruff.toml" # Inherit the project-wide settings
22

3-
target-version = "py313"
3+
target-version = "py312"
44

55
extend-exclude = [
66
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
@@ -16,7 +16,10 @@ extend-exclude = [
1616
]
1717

1818
[per-file-target-version]
19-
# t-strings
19+
# Type parameter defaults
20+
"test_type_params.py" = "py313"
21+
22+
# Template string literals
2023
"test_annotationlib.py" = "py314"
2124
"test_string/test_templatelib.py" = "py314"
2225
"test_tstring.py" = "py314"

0 commit comments

Comments
 (0)