We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Lib/test
1 parent 3aef494 commit bbd682dCopy full SHA for bbd682d
1 file changed
Lib/test/.ruff.toml
@@ -1,6 +1,7 @@
1
extend = "../../.ruff.toml" # Inherit the project-wide settings
2
3
-target-version = "py312"
+# Unlike Tools/, tests can use newer syntax than PYTHON_FOR_REGEN
4
+target-version = "py314"
5
6
extend-exclude = [
7
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
@@ -15,15 +16,6 @@ extend-exclude = [
15
16
"test_grammar.py",
17
]
18
-[per-file-target-version]
19
-# Type parameter defaults
20
-"test_type_params.py" = "py313"
21
-
22
-# Template string literals
23
-"test_annotationlib.py" = "py314"
24
-"test_string/test_templatelib.py" = "py314"
25
-"test_tstring.py" = "py314"
26
27
[lint]
28
select = [
29
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
0 commit comments