From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 10 Apr 2026 15:36:12 +0000 (+0300) Subject: [3.14] Fix mixed line endings with pre-commit (GH-148336) (#148338) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=429c1d3c19a0d88fbe86e29b60227c77ef766915;p=thirdparty%2FPython%2Fcpython.git [3.14] Fix mixed line endings with pre-commit (GH-148336) (#148338) Co-authored-by: Zachary Ware --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d09596671ad..eaa3986bf6a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -77,6 +77,9 @@ repos: exclude: Lib/test/tokenizedata/coding20731.py - id: end-of-file-fixer files: '^\.github/CODEOWNERS$' + - id: mixed-line-ending + args: [--fix=auto] + exclude: '^Lib/test/.*data/' - id: trailing-whitespace types_or: [c, inc, python, rst, yaml] - id: trailing-whitespace