Title: Fix mixed line endings with pre-commit by hugovk · Pull Request #148336 · python/cpython · GitHub
Open Graph Title: Fix mixed line endings with pre-commit by hugovk · Pull Request #148336 · python/cpython
X Title: Fix mixed line endings with pre-commit by hugovk · Pull Request #148336 · python/cpython
Description: 3.15.rst accidentally gained Windows line-endings via a suggestion: f938f01 Let's prevent future ones with mixed-line-ending. --fix=auto means: Replaces automatically the most frequent line ending. This is the default argument. Because we don't want to change things like *.bat or *.filters which must have Windows line endings. Lib/test/test_tomllib/data/invalid/multiline-basic-str/carriage-return.toml must be excluded as well, so let's exclude all those test data files just in case. 📚 Documentation preview 📚: https://cpython-previews--148336.org.readthedocs.build/
Open Graph Description: 3.15.rst accidentally gained Windows line-endings via a suggestion: f938f01 Let's prevent future ones with mixed-line-ending. --fix=auto means: Replaces automatically the most frequent line en...
X Description: 3.15.rst accidentally gained Windows line-endings via a suggestion: f938f01 Let's prevent future ones with mixed-line-ending. --fix=auto means: Replaces automatically the most frequent lin...
Opengraph URL: https://github.com/python/cpython/pull/148336
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0032e5c8-2b4d-cc0f-a974-9526c9c8b7d2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C050:2D953F:197CD:22D6C:6A545E4D |
| html-safe-nonce | 5aea4ddb92a48f074ae2fa9d174d7fd2b3e00ad16133d45e2b2e2312554e7c35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDUwOjJEOTUzRjoxOTdDRDoyMkQ2Qzo2QTU0NUU0RCIsInZpc2l0b3JfaWQiOiI2ODA4NTQyMDYxMDM1NTQ0MTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0385f4dffec2fc611a7a082befb1173297988fc86646e2e5825a0f2c053f9b96 |
| hovercard-subject-tag | pull_request:3514640022 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/148336/files |
| twitter:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| og:image:alt | 3.15.rst accidentally gained Windows line-endings via a suggestion: f938f01 Let's prevent future ones with mixed-line-ending. --fix=auto means: Replaces automatically the most frequent line en... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width