|
1 | 1 | repos:
|
2 | 2 | - repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
| - rev: v4.6.0 |
| 3 | + rev: v5.0.0 |
4 | 4 | hooks:
|
5 | 5 | - id: trailing-whitespace
|
6 | 6 | name: trim trailing whitespace
|
7 | 7 | description: trims trailing whitespace.
|
8 | 8 | entry: trailing-whitespace-fixer
|
9 | 9 | language: python
|
10 | 10 | types: [text]
|
11 |
| - stages: [commit, push, manual] |
| 11 | + stages: [pre-commit, pre-push, manual] |
12 | 12 |
|
13 | 13 | - id: end-of-file-fixer
|
14 | 14 | name: fix end of files
|
15 | 15 | description: ensures that a file is either empty, or ends with one newline.
|
16 | 16 | entry: end-of-file-fixer
|
17 | 17 | language: python
|
18 | 18 | types: [text]
|
19 |
| - stages: [commit, push, manual] |
| 19 | + stages: [pre-commit, pre-push, manual] |
20 | 20 |
|
21 | 21 | - id: detect-aws-credentials
|
22 | 22 | name: detect aws credentials
|
@@ -60,20 +60,20 @@ repos:
|
60 | 60 | description: prevents giant files from being committed.
|
61 | 61 | entry: check-added-large-files
|
62 | 62 | language: python
|
63 |
| - stages: [commit, push, manual] |
| 63 | + stages: [pre-commit, pre-push, manual] |
64 | 64 | args: ['--maxkb=10240']
|
65 | 65 |
|
66 | 66 | # Versioning: Commit messages & changelog
|
67 | 67 | - repo: https://github.com/commitizen-tools/commitizen
|
68 |
| - rev: v3.29.0 |
| 68 | + rev: v4.4.1 |
69 | 69 | hooks:
|
70 | 70 | - id: commitizen
|
71 | 71 | stages: [commit-msg]
|
72 | 72 |
|
73 | 73 | # Lint / autoformat: Python code
|
74 | 74 | - repo: https://github.com/astral-sh/ruff-pre-commit
|
75 | 75 | # Ruff version.
|
76 |
| - rev: "v0.6.4" |
| 76 | + rev: "v0.9.10" |
77 | 77 | hooks:
|
78 | 78 | # Run the linter
|
79 | 79 | - id: ruff
|
|
0 commit comments