|
3 | 3 | default_stages: [pre-commit] |
4 | 4 |
|
5 | 5 | repos: |
6 | | - - repo: local |
7 | | - hooks: |
8 | | - - id: check-added-large-files |
9 | | - name: Check for added large files |
10 | | - entry: check-added-large-files |
11 | | - language: system |
12 | | - - id: check-toml |
13 | | - name: Check Toml |
14 | | - entry: check-toml |
15 | | - language: system |
16 | | - types: [toml] |
17 | | - - id: check-yaml |
18 | | - name: Check Yaml |
19 | | - entry: check-yaml |
20 | | - language: system |
21 | | - types: [yaml] |
22 | | - - id: end-of-file-fixer |
23 | | - name: Fix End of Files |
24 | | - entry: end-of-file-fixer |
25 | | - language: system |
26 | | - types: [text] |
27 | | - stages: [pre-commit, pre-push, manual] |
28 | | - - id: trailing-whitespace |
29 | | - name: Trim Trailing Whitespace |
30 | | - entry: trailing-whitespace-fixer |
31 | | - language: system |
32 | | - types: [text] |
33 | | - stages: [pre-commit, pre-push, manual] |
| 6 | + - repo: local |
| 7 | + hooks: |
| 8 | + - id: check-added-large-files |
| 9 | + name: Check for added large files |
| 10 | + entry: check-added-large-files |
| 11 | + language: system |
| 12 | + - id: check-toml |
| 13 | + name: Check Toml |
| 14 | + entry: check-toml |
| 15 | + language: system |
| 16 | + types: [toml] |
| 17 | + - id: check-yaml |
| 18 | + name: Check Yaml |
| 19 | + entry: check-yaml |
| 20 | + language: system |
| 21 | + types: [yaml] |
| 22 | + - id: end-of-file-fixer |
| 23 | + name: Fix End of Files |
| 24 | + entry: end-of-file-fixer |
| 25 | + language: system |
| 26 | + types: [text] |
| 27 | + stages: [pre-commit, pre-push, manual] |
| 28 | + - id: trailing-whitespace |
| 29 | + name: Trim Trailing Whitespace |
| 30 | + entry: trailing-whitespace-fixer |
| 31 | + language: system |
| 32 | + types: [text] |
| 33 | + stages: [pre-commit, pre-push, manual] |
34 | 34 |
|
35 | | - - repo: https://github.com/astral-sh/ruff-pre-commit |
36 | | - rev: v0.12.0 |
37 | | - hooks: |
38 | | - - id: ruff-format |
39 | | - args: [--config=.ruff.toml] |
| 35 | + - repo: https://github.com/astral-sh/ruff-pre-commit |
| 36 | + rev: v0.11.11 |
| 37 | + hooks: |
| 38 | + - id: ruff-format |
| 39 | + args: [--config=.ruff.toml] |
| 40 | + name: Ruff Format |
40 | 41 |
|
41 | | - - id: ruff-check |
42 | | - args: [--fix, --diff, --exit-non-zero-on-fix, --config=.ruff.toml] |
| 42 | + - id: ruff-check |
| 43 | + args: [--fix, --diff, --exit-non-zero-on-fix, --config=.ruff.toml] |
| 44 | + name: Ruff Check |
43 | 45 |
|
44 | | - - repo: https://github.com/doublify/pre-commit-rust |
45 | | - rev: v1.0 |
46 | | - hooks: |
47 | | - - id: fmt |
48 | | - - id: clippy |
49 | | - args: ["--all-features", "--", "--write"] |
50 | | - - id: cargo-check |
| 46 | + - repo: https://github.com/doublify/pre-commit-rust |
| 47 | + rev: master |
| 48 | + hooks: |
| 49 | + - id: fmt |
| 50 | + name: Rust Format |
| 51 | + - id: clippy |
| 52 | + args: ["--all-features", "--", "--write"] |
| 53 | + name: Clippy |
| 54 | + - id: cargo-check |
| 55 | + name: Cargo Check |
51 | 56 |
|
52 | | - - repo: https://github.com/pre-commit/mirrors-prettier |
53 | | - rev: v4.0.0-alpha.8 |
54 | | - hooks: |
55 | | - - id: prettier |
| 57 | + - repo: https://github.com/pre-commit/mirrors-prettier |
| 58 | + rev: v2.6.0 |
| 59 | + hooks: |
| 60 | + - id: prettier |
| 61 | + name: Prettier |
56 | 62 |
|
57 | | - - repo: https://github.com/commitizen-tools/commitizen |
58 | | - rev: v4.8.3 |
59 | | - hooks: |
60 | | - - id: commitizen |
61 | | - - id: commitizen-branch |
62 | | - stages: [commit-msg] |
| 63 | + - repo: https://github.com/commitizen-tools/commitizen |
| 64 | + rev: v4.8.2 |
| 65 | + hooks: |
| 66 | + - id: commitizen |
| 67 | + name: Commitizen |
| 68 | + - id: commitizen-branch |
| 69 | + name: Commitizen Branch |
| 70 | + stages: [commit-msg] |
0 commit comments