Title: Add end-of-file-fixer to pre-commit by hugovk · Pull Request #106065 · python/cpython · GitHub
Open Graph Title: Add end-of-file-fixer to pre-commit by hugovk · Pull Request #106065 · python/cpython
X Title: Add end-of-file-fixer to pre-commit by hugovk · Pull Request #106065 · python/cpython
Description: Follow on from #104275. This adds a check that is part of make patchcheck's normalize_whitespace(python_files) to pre-commit, which showed up in PR #105984: Getting base branch for PR ... origin/main Getting the list of files that have been added/changed ... 3 files Fixing Python file whitespace ... 1 file: Lib/test/test_webbrowser.py Fixing C file whitespace ... 0 files Fixing docs whitespace ... 0 files Please fix the 1 file(s) with whitespace issues (on UNIX you can run `make patchcheck` to make the fixes) ##[error]Bash exited with code '1'. https://dev.azure.com/Python/cpython/_build/results?buildId=130810&view=logs&j=256d7e09-002a-52d7-8661-29ee3960640e&t=3d7276d3-4e8d-5309-55ad-fb0b172d9925 Adding here will make the failure more visible, and show the actual change needed. I'll push another temporary commit to demonstrate.
Open Graph Description: Follow on from #104275. This adds a check that is part of make patchcheck's normalize_whitespace(python_files) to pre-commit, which showed up in PR #105984: Getting base branch for PR ... origi...
X Description: Follow on from #104275. This adds a check that is part of make patchcheck's normalize_whitespace(python_files) to pre-commit, which showed up in PR #105984: Getting base branch for PR ... o...
Opengraph URL: https://github.com/python/cpython/pull/106065
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:03d0588e-ac08-b14d-adbc-b418df00e015 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8DC:A457C:1538966:1C67D70:6969B517 |
| html-safe-nonce | 7adbfbac95414cfe289dbc286d05b7d636198452aac653a0b94f0ac535c18c21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOERDOkE0NTdDOjE1Mzg5NjY6MUM2N0Q3MDo2OTY5QjUxNyIsInZpc2l0b3JfaWQiOiIzNDU5MjM5Mzk3MjM4MDkzMDc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0423ef51953eed2550170ddcc90d9f9179ef1a27d83fd5202dfd170cd874d43a |
| hovercard-subject-tag | pull_request:1406337216 |
| 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/106065/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 | Follow on from #104275. This adds a check that is part of make patchcheck's normalize_whitespace(python_files) to pre-commit, which showed up in PR #105984: Getting base branch for PR ... origi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width