Skip to content

Commit 2bd006c

Browse files
hugovkzware
andcommitted
[3.13] 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 0530f10 commit 2bd006c

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)