11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.12.8
3+ rev : v0.13.2
44 hooks :
5- - id : ruff
5+ - id : ruff-check
66 name : Run Ruff (lint) on Doc/
77 args : [--exit-non-zero-on-fix]
88 files : ^Doc/
9- - id : ruff
9+ - id : ruff-check
1010 name : Run Ruff (lint) on Lib/test/
1111 args : [--exit-non-zero-on-fix]
1212 files : ^Lib/test/
13- - id : ruff
13+ - id : ruff-check
1414 name : Run Ruff (lint) on Tools/build/
1515 args : [--exit-non-zero-on-fix, --config=Tools/build/.ruff.toml]
1616 files : ^Tools/build/
17- - id : ruff
17+ - id : ruff-check
1818 name : Run Ruff (lint) on Tools/i18n/
1919 args : [--exit-non-zero-on-fix, --config=Tools/i18n/.ruff.toml]
2020 files : ^Tools/i18n/
21- - id : ruff
21+ - id : ruff-check
2222 name : Run Ruff (lint) on Argument Clinic
2323 args : [--exit-non-zero-on-fix, --config=Tools/clinic/.ruff.toml]
2424 files : ^Tools/clinic/|Lib/test/test_clinic.py
25- - id : ruff
25+ - id : ruff-check
2626 name : Run Ruff (lint) on Tools/peg_generator/
2727 args : [--exit-non-zero-on-fix, --config=Tools/peg_generator/.ruff.toml]
2828 files : ^Tools/peg_generator/
29+ - id : ruff-check
30+ name : Run Ruff (lint) on Tools/wasm/
31+ args : [--exit-non-zero-on-fix, --config=Tools/wasm/.ruff.toml]
32+ files : ^Tools/wasm/
2933 - id : ruff-format
3034 name : Run Ruff (format) on Doc/
3135 args : [--check]
@@ -34,9 +38,13 @@ repos:
3438 name : Run Ruff (format) on Tools/build/check_warnings.py
3539 args : [--check, --config=Tools/build/.ruff.toml]
3640 files : ^Tools/build/check_warnings.py
41+ - id : ruff-format
42+ name : Run Ruff (format) on Tools/wasm/
43+ args : [--check, --config=Tools/wasm/.ruff.toml]
44+ files : ^Tools/wasm/
3745
3846 - repo : https://github.com/psf/black-pre-commit-mirror
39- rev : 25.1 .0
47+ rev : 25.9 .0
4048 hooks :
4149 - id : black
4250 name : Run Black on Tools/jit/
4755 hooks :
4856 - id : remove-tabs
4957 types : [python]
50- exclude : ^Tools/c-analyzer/cpython/_parser.py
5158
5259 - repo : https://github.com/pre-commit/pre-commit-hooks
5360 rev : v6.0.0
6875 files : ' ^\.github/CODEOWNERS|\.(gram)$'
6976
7077 - repo : https://github.com/python-jsonschema/check-jsonschema
71- rev : 0.33.2
78+ rev : 0.34.0
7279 hooks :
7380 - id : check-dependabot
7481 - id : check-github-workflows
8087 - id : actionlint
8188
8289 - repo : https://github.com/woodruffw/zizmor-pre-commit
83- rev : v1.11.0
90+ rev : v1.14.1
8491 hooks :
8592 - id : zizmor
8693
0 commit comments