Skip to content

Commit 017783c

Browse files
committed
chore(pre-commit): add formatting hooks
1 parent 3bc966c commit 017783c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
# https://pre-commit.com/
2+
default_language_version:
3+
python: python3
4+
default_stages: [pre-commit]
15
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v5.0.0
8+
hooks:
9+
- id: check-yaml
10+
- id: trailing-whitespace
11+
- id: end-of-file-fixer
212
- repo: https://github.com/gitguardian/ggshield
3-
rev: v1.38.0
13+
rev: v1.39.0
414
hooks:
515
- id: ggshield
6-
language_version: python3
7-
stages: [pre-commit]

0 commit comments

Comments
 (0)