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 @@ -178,8 +178,8 @@ jobs:
178178 free-threading : ${{ matrix.free-threading }}
179179
180180 build-windows-msi :
181- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
182- Windows MSI${{ '' }}
181+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
182+ name : Windows MSI${{ '' }} # zizmor: ignore[obfuscation]
183183 needs : build-context
184184 if : fromJSON(needs.build-context.outputs.run-windows-msi)
185185 strategy :
@@ -586,8 +586,8 @@ jobs:
586586 run : xvfb-run make ci
587587
588588 build-san :
589- name : >- # ${{ '' } is a hack to nest jobs under the same sidebar category
590- Sanitizers${{ '' }}
589+ # ${{ '' } is a hack to nest jobs under the same sidebar category.
590+ name : Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
591591 needs : build-context
592592 if : needs.build-context.outputs.run-tests == 'true'
593593 strategy :
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.11 .8
3+ rev : v0.12 .8
44 hooks :
55 - id : ruff
66 name : Run Ruff (lint) on Doc/
4242 exclude : ^Tools/c-analyzer/cpython/_parser.py
4343
4444 - repo : https://github.com/pre-commit/pre-commit-hooks
45- rev : v5 .0.0
45+ rev : v6 .0.0
4646 hooks :
4747 - id : check-case-conflict
4848 - id : check-merge-conflict
6060 files : ' ^\.github/CODEOWNERS|\.(gram)$'
6161
6262 - repo : https://github.com/python-jsonschema/check-jsonschema
63- rev : 0.33.0
63+ rev : 0.33.2
6464 hooks :
6565 - id : check-dependabot
6666 - id : check-github-workflows
7272 - id : actionlint
7373
7474 - repo : https://github.com/woodruffw/zizmor-pre-commit
75- rev : v1.6 .0
75+ rev : v1.11 .0
7676 hooks :
7777 - id : zizmor
7878
Original file line number Diff line number Diff line change 11extend = " ../../.ruff.toml" # Inherit the project-wide settings
22
3+ target-version = " py312"
4+
35extend-exclude = [
46 # Excluded (run with the other AC files in its own separate ruff job in pre-commit)
57 " test_clinic.py" ,
@@ -8,15 +10,20 @@ extend-exclude = [
810 # Non UTF-8 files
911 " encoded_modules/module_iso_8859_1.py" ,
1012 " 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" ,
1513 # New grammar constructions may not yet be recognized by Ruff,
1614 # and tests re-use the same names as only the grammar is being checked.
1715 " test_grammar.py" ,
1816]
1917
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+
2027[lint ]
2128select = [
2229 " F401" , # Unused import
You can’t perform that action at this time.
0 commit comments