File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ jobs:
231
231
free-threading : ${{ matrix.free-threading }}
232
232
233
233
build-windows-msi :
234
- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
235
- Windows MSI${{ '' }}
234
+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
235
+ name : Windows MSI${{ '' }} # zizmor: ignore[obfuscation]
236
236
needs : build-context
237
237
if : fromJSON(needs.build-context.outputs.run-windows-msi)
238
238
strategy :
@@ -546,8 +546,8 @@ jobs:
546
546
run : xvfb-run make test
547
547
548
548
build-san :
549
- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
550
- Sanitizers${{ '' }}
549
+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
550
+ name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
551
551
needs : build-context
552
552
if : needs.build-context.outputs.run-tests == 'true'
553
553
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.6
3
+ rev : v0.12.8
4
4
hooks :
5
5
- id : ruff
6
6
name : Run Ruff (lint) on Doc/
34
34
exclude : ^Tools/c-analyzer/cpython/_parser.py
35
35
36
36
- repo : https://github.com/pre-commit/pre-commit-hooks
37
- rev : v5 .0.0
37
+ rev : v6 .0.0
38
38
hooks :
39
39
- id : check-case-conflict
40
40
- id : check-merge-conflict
52
52
files : ' ^\.github/CODEOWNERS|\.(gram)$'
53
53
54
54
- repo : https://github.com/woodruffw/zizmor-pre-commit
55
- rev : v1.6 .0
55
+ rev : v1.11 .0
56
56
hooks :
57
57
- id : zizmor
58
58
Original file line number Diff line number Diff line change 1
1
fix = true
2
+ target-version = " py312"
2
3
extend-exclude = [
3
4
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
4
5
" test_clinic.py" ,
@@ -12,6 +13,15 @@ extend-exclude = [
12
13
" test_grammar.py" ,
13
14
]
14
15
16
+ [per-file-target-version ]
17
+ # Type parameter defaults
18
+ "test_type_params.py" = " py313"
19
+
20
+ # Template string literals
21
+ "test_annotationlib.py" = " py314"
22
+ "test_string/test_templatelib.py" = " py314"
23
+ "test_tstring.py" = " py314"
24
+
15
25
[lint ]
16
26
select = [
17
27
" 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