File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -225,8 +225,8 @@ jobs:
225
225
free-threading : ${{ matrix.free-threading }}
226
226
227
227
build-windows-msi :
228
- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
229
- Windows MSI${{ '' }}
228
+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
229
+ name : Windows MSI${{ '' }} # zizmor: ignore[obfuscation]
230
230
needs : build-context
231
231
if : fromJSON(needs.build-context.outputs.run-windows-msi)
232
232
strategy :
@@ -558,8 +558,8 @@ jobs:
558
558
run : xvfb-run make ci
559
559
560
560
build-san :
561
- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
562
- Sanitizers${{ '' }}
561
+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
562
+ name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
563
563
needs : build-context
564
564
if : needs.build-context.outputs.run-tests == 'true'
565
565
strategy :
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : v0.11 .8
3
+ rev : v0.12 .8
4
4
hooks :
5
5
- id : ruff
6
6
name : Run Ruff (lint) on Doc/
42
42
exclude : ^Tools/c-analyzer/cpython/_parser.py
43
43
44
44
- repo : https://github.com/pre-commit/pre-commit-hooks
45
- rev : v5 .0.0
45
+ rev : v6 .0.0
46
46
hooks :
47
47
- id : check-case-conflict
48
48
- id : check-merge-conflict
60
60
files : ' ^\.github/CODEOWNERS|\.(gram)$'
61
61
62
62
- repo : https://github.com/python-jsonschema/check-jsonschema
63
- rev : 0.33.0
63
+ rev : 0.33.2
64
64
hooks :
65
65
- id : check-dependabot
66
66
- id : check-github-workflows
72
72
- id : actionlint
73
73
74
74
- repo : https://github.com/woodruffw/zizmor-pre-commit
75
- rev : v1.6 .0
75
+ rev : v1.11 .0
76
76
hooks :
77
77
- id : zizmor
78
78
Original file line number Diff line number Diff line change 1
1
extend = " ../../.ruff.toml" # Inherit the project-wide settings
2
2
3
+ target-version = " py312"
4
+
3
5
extend-exclude = [
4
6
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
5
7
" test_clinic.py" ,
@@ -8,15 +10,20 @@ extend-exclude = [
8
10
# Non UTF-8 files
9
11
" encoded_modules/module_iso_8859_1.py" ,
10
12
" encoded_modules/module_koi8_r.py" ,
11
- # SyntaxError because of t-strings
12
- " test_annotationlib.py" ,
13
- " test_string/test_templatelib.py" ,
14
- " test_tstring.py" ,
15
13
# New grammar constructions may not yet be recognized by Ruff,
16
14
# and tests re-use the same names as only the grammar is being checked.
17
15
" test_grammar.py" ,
18
16
]
19
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
+
20
27
[lint ]
21
28
select = [
22
29
" F811" , # Redefinition of unused variable (useful for finding test methods with the same name)
You can’t perform that action at this time.
0 commit comments