|
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/i18n/ |
15 | 15 | args: [--exit-non-zero-on-fix, --config=Tools/i18n/.ruff.toml] |
16 | 16 | files: ^Tools/i18n/ |
17 | | - - id: ruff |
| 17 | + - id: ruff-check |
18 | 18 | name: Run Ruff (lint) on Argument Clinic |
19 | 19 | args: [--exit-non-zero-on-fix, --config=Tools/clinic/.ruff.toml] |
20 | 20 | files: ^Tools/clinic/|Lib/test/test_clinic.py |
21 | | - - id: ruff |
| 21 | + - id: ruff-check |
22 | 22 | name: Run Ruff (lint) on Tools/peg_generator/ |
23 | 23 | args: [--exit-non-zero-on-fix, --config=Tools/peg_generator/.ruff.toml] |
24 | 24 | files: ^Tools/peg_generator/ |
25 | 25 | - id: ruff-format |
26 | 26 | name: Run Ruff (format) on Doc/ |
27 | 27 | args: [--check] |
28 | 28 | files: ^Doc/ |
| 29 | + - id: ruff-format |
| 30 | + name: Run Ruff (format) on Tools/wasm/ |
| 31 | + args: [--check, --config=Tools/wasm/.ruff.toml] |
| 32 | + files: ^Tools/wasm/ |
29 | 33 |
|
30 | 34 | - repo: https://github.com/psf/black-pre-commit-mirror |
31 | | - rev: 25.1.0 |
| 35 | + rev: 25.9.0 |
32 | 36 | hooks: |
33 | 37 | - id: black |
34 | 38 | name: Run Black on Tools/jit/ |
@@ -59,8 +63,20 @@ repos: |
59 | 63 | - id: trailing-whitespace |
60 | 64 | files: '^\.github/CODEOWNERS|\.(gram)$' |
61 | 65 |
|
| 66 | + - repo: https://github.com/python-jsonschema/check-jsonschema |
| 67 | + rev: 0.34.0 |
| 68 | + hooks: |
| 69 | + - id: check-dependabot |
| 70 | + - id: check-github-workflows |
| 71 | + - id: check-readthedocs |
| 72 | + |
| 73 | + - repo: https://github.com/rhysd/actionlint |
| 74 | + rev: v1.7.7 |
| 75 | + hooks: |
| 76 | + - id: actionlint |
| 77 | + |
62 | 78 | - repo: https://github.com/woodruffw/zizmor-pre-commit |
63 | | - rev: v1.11.0 |
| 79 | + rev: v1.14.1 |
64 | 80 | hooks: |
65 | 81 | - id: zizmor |
66 | 82 |
|
|
0 commit comments