Skip to content

Commit fef7e7c

Browse files
committed
Add pre-commit checks for common mistakes
1 parent 2ff0668 commit fef7e7c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
repos:
2+
- repo: "https://github.com/pre-commit/pre-commit-hooks"
3+
rev: "v4.4.0"
4+
hooks:
5+
- id: "check-added-large-files"
6+
- id: "check-vcs-permalinks"
7+
- id: "no-commit-to-branch"
8+
# TODO: Apply this fixer and add an entry to .git-blame-ignore-revs
9+
# - id: "end-of-file-fixer"
10+
211
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
312
rev: "v0.0.269"
413
hooks:

0 commit comments

Comments
 (0)