Skip to content

Commit af001e7

Browse files
committed
ci(pre-commit): configure custom commit messages and fix codespell args
Add custom commit message templates for pre-commit.ci autofix and autoupdate operations. Remove trailing space from codespell args. Signed-off-by: Marcelo Borges <[email protected]>
1 parent 0cb46c8 commit af001e7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
ci:
2+
autofix_commit_msg: |
3+
chore(pre-commit): apply automatic fixes
4+
5+
Auto-generated commit from pre-commit.ci.
6+
See https://pre-commit.ci for details.
7+
autoupdate_commit_msg: |
8+
chore(pre-commit): update pre-commit hooks
9+
10+
Auto-update pre-commit hooks to the latest compatible versions.
11+
See https://pre-commit.ci for details.
112
repos:
213
- repo: https://github.com/pre-commit/pre-commit-hooks
314
rev: v6.0.0
@@ -17,7 +28,7 @@ repos:
1728
rev: v2.4.1
1829
hooks:
1930
- id: codespell
20-
args: ["--ignore-words", ".codespellignore" ]
31+
args: ["--ignore-words", ".codespellignore"]
2132
- repo: https://github.com/gitleaks/gitleaks
2233
rev: v8.28.0
2334
hooks:

0 commit comments

Comments
 (0)