Skip to content

Commit ae65e2d

Browse files
authored
Add check-added-large-files pre-commit hook (#7038)
This hooks forbids commiting large files (by default >0.5Mb). If such files need to be added, simply run `git commit --no-verify`
1 parent c0e3c82 commit ae65e2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ repos:
33
rev: v5.0.0
44
hooks:
55
- id: check-merge-conflict
6+
- id: check-added-large-files
67
- id: check-yaml
78
- id: double-quote-string-fixer
89
- id: end-of-file-fixer

0 commit comments

Comments
 (0)