Skip to content

Commit 429c1d3

Browse files
hugovkzware
andauthored
[3.14] Fix mixed line endings with pre-commit (GH-148336) (#148338)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
1 parent e8f3f76 commit 429c1d3

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
@@ -77,6 +77,9 @@ repos:
7777
exclude: Lib/test/tokenizedata/coding20731.py
7878
- id: end-of-file-fixer
7979
files: '^\.github/CODEOWNERS$'
80+
- id: mixed-line-ending
81+
args: [--fix=auto]
82+
exclude: '^Lib/test/.*data/'
8083
- id: trailing-whitespace
8184
types_or: [c, inc, python, rst, yaml]
8285
- id: trailing-whitespace

0 commit comments

Comments
 (0)