Skip to content

Commit a14e4e3

Browse files
hugovkzware
andauthored
[3.13] Fix mixed line endings with pre-commit (GH-148336) (#148339)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
1 parent 0530f10 commit a14e4e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ repos:
7878
exclude: Lib/test/tokenizedata/coding20731.py
7979
- id: end-of-file-fixer
8080
files: '^\.github/CODEOWNERS$'
81+
- id: mixed-line-ending
82+
args: [--fix=auto]
83+
exclude: '^Lib/test/.*data/'
8184
- id: trailing-whitespace
8285
types_or: [c, inc, python, rst, yaml]
8386
- id: trailing-whitespace

0 commit comments

Comments
 (0)