Skip to content

Commit a76f9f6

Browse files
hugovkzware
andcommitted
[3.14] Fix mixed line endings with pre-commit (GH-148336)
(cherry picked from commit fc5df4d) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
1 parent e8f3f76 commit a76f9f6

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)