Skip to content

Commit 9e3483f

Browse files
committed
pre-commit: forbid CRLF line endings
Signed-off-by: Stephen Brennan <[email protected]>
1 parent 77c0a89 commit 9e3483f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ repos:
1111
- id: check-yaml
1212
- id: check-added-large-files
1313
exclude: .ko$
14+
- id: mixed-line-ending
15+
args: ['--fix=lf']
1416
- repo: https://github.com/psf/black
1517
rev: "23.7.0"
1618
hooks:

0 commit comments

Comments
 (0)