https://github.com/python/cpython/commit/fc5df4d7236516d11ee949e99e4c08362e3f908d commit: fc5df4d7236516d11ee949e99e4c08362e3f908d branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-10T18:33:11+03:00 summary:
Fix mixed line endings with pre-commit (#148336) Co-authored-by: Zachary Ware <[email protected]> files: M .pre-commit-config.yaml M Doc/whatsnew/3.15.rst diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c77610e209ebbd..6878a7d92e3bee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -85,6 +85,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 diff --git a/Doc/whatsnew/3.15.rst b/Doc/whatsnew/3.15.rst index 21327b611120a2..927d6035c8c4bc 100644 --- a/Doc/whatsnew/3.15.rst +++ b/Doc/whatsnew/3.15.rst @@ -830,9 +830,9 @@ http.server is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. - (Contributed by Hugo van Kemenade in :gh:`146292`.) - - + (Contributed by Hugo van Kemenade in :gh:`146292`.) + + inspect ------- _______________________________________________ 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]
