https://github.com/python/cpython/commit/a14e4e3a1afb00b0a4f0213ae6d4f994c500b377 commit: a14e4e3a1afb00b0a4f0213ae6d4f994c500b377 branch: 3.13 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-10T18:36:16+03:00 summary:
[3.13] Fix mixed line endings with pre-commit (GH-148336) (#148339) Co-authored-by: Zachary Ware <[email protected]> files: M .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 055f8854a970f8..ff08c7583fc4de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -78,6 +78,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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
