Skip to content

Commit 529bd1f

Browse files
committed
add .precommit_config.yaml
1 parent 0bf5652 commit 529bd1f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.pre-commit-config.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: check-added-large-files
6+
args: [--maxkb=8192]
7+
- id: check-merge-conflict
8+
- id: check-toml
9+
- id: check-yaml
10+
args: [--allow-multiple-documents]
11+
- id: end-of-file-fixer
12+
- id: no-commit-to-branch
13+
args: [--branch,master]
14+
- repo: https://github.com/gitleaks/gitleaks
15+
rev: v8.16.3
16+
hooks:
17+
- id: gitleaks
18+
- repo: https://github.com/fredrikekre/runic-pre-commit
19+
rev: v1.0.0
20+
hooks:
21+
- id: runic
22+
- repo: https://github.com/codespell-project/codespell
23+
rev: v2.2.4
24+
hooks:
25+
- id: codespell

0 commit comments

Comments
 (0)