|
1 | 1 | repos:
|
2 | 2 | - repo: https://github.com/astral-sh/ruff-pre-commit
|
3 |
| - rev: v0.12.8 |
| 3 | + rev: v0.13.2 |
4 | 4 | hooks:
|
5 |
| - - id: ruff |
| 5 | + - id: ruff-check |
6 | 6 | name: Run Ruff (lint) on Doc/
|
7 | 7 | args: [--exit-non-zero-on-fix]
|
8 | 8 | files: ^Doc/
|
9 |
| - - id: ruff |
| 9 | + - id: ruff-check |
10 | 10 | name: Run Ruff (lint) on Lib/test/
|
11 | 11 | args: [--exit-non-zero-on-fix]
|
12 | 12 | files: ^Lib/test/
|
13 |
| - - id: ruff |
| 13 | + - id: ruff-check |
14 | 14 | name: Run Ruff (lint) on Tools/build/
|
15 | 15 | args: [--exit-non-zero-on-fix, --config=Tools/build/.ruff.toml]
|
16 | 16 | files: ^Tools/build/
|
17 |
| - - id: ruff |
| 17 | + - id: ruff-check |
18 | 18 | name: Run Ruff (lint) on Tools/i18n/
|
19 | 19 | args: [--exit-non-zero-on-fix, --config=Tools/i18n/.ruff.toml]
|
20 | 20 | files: ^Tools/i18n/
|
21 |
| - - id: ruff |
| 21 | + - id: ruff-check |
22 | 22 | name: Run Ruff (lint) on Argument Clinic
|
23 | 23 | args: [--exit-non-zero-on-fix, --config=Tools/clinic/.ruff.toml]
|
24 | 24 | files: ^Tools/clinic/|Lib/test/test_clinic.py
|
25 |
| - - id: ruff |
| 25 | + - id: ruff-check |
26 | 26 | name: Run Ruff (lint) on Tools/peg_generator/
|
27 | 27 | args: [--exit-non-zero-on-fix, --config=Tools/peg_generator/.ruff.toml]
|
28 | 28 | files: ^Tools/peg_generator/
|
|
36 | 36 | files: ^Tools/build/check_warnings.py
|
37 | 37 |
|
38 | 38 | - repo: https://github.com/psf/black-pre-commit-mirror
|
39 |
| - rev: 25.1.0 |
| 39 | + rev: 25.9.0 |
40 | 40 | hooks:
|
41 | 41 | - id: black
|
42 | 42 | name: Run Black on Tools/jit/
|
|
47 | 47 | hooks:
|
48 | 48 | - id: remove-tabs
|
49 | 49 | types: [python]
|
50 |
| - exclude: ^Tools/c-analyzer/cpython/_parser.py |
51 | 50 |
|
52 | 51 | - repo: https://github.com/pre-commit/pre-commit-hooks
|
53 | 52 | rev: v6.0.0
|
|
68 | 67 | files: '^\.github/CODEOWNERS|\.(gram)$'
|
69 | 68 |
|
70 | 69 | - repo: https://github.com/python-jsonschema/check-jsonschema
|
71 |
| - rev: 0.33.2 |
| 70 | + rev: 0.34.0 |
72 | 71 | hooks:
|
73 | 72 | - id: check-dependabot
|
74 | 73 | - id: check-github-workflows
|
|
80 | 79 | - id: actionlint
|
81 | 80 |
|
82 | 81 | - repo: https://github.com/woodruffw/zizmor-pre-commit
|
83 |
| - rev: v1.11.0 |
| 82 | + rev: v1.14.1 |
84 | 83 | hooks:
|
85 | 84 | - id: zizmor
|
86 | 85 |
|
|
0 commit comments