Skip to content

Commit a8f4cd1

Browse files
committed
Standardize pre-commit hooks and file size limit
- Add missing core hooks: check-case-conflict, check-vcs-permalinks, fix-byte-order-marker, mixed-line-ending, no-commit-to-branch, trailing-whitespace - Standardize file size limit to 25KB
1 parent 747d875 commit a8f4cd1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ repos:
33
rev: v5.0.0
44
hooks:
55
- id: check-added-large-files
6-
args: ['--maxkb=100']
6+
args: ['--maxkb=25']
7+
- id: check-case-conflict
78
- id: check-merge-conflict
9+
- id: check-vcs-permalinks
810
- id: check-yaml
911
- id: debug-statements
1012
- id: end-of-file-fixer
13+
- id: fix-byte-order-marker
14+
- id: mixed-line-ending
15+
- id: no-commit-to-branch
16+
args: [--branch, main]
17+
- id: trailing-whitespace
1118
- repo: https://github.com/pre-commit/pygrep-hooks
1219
rev: v1.10.0
1320
hooks:

0 commit comments

Comments
 (0)