René's URL Explorer Experiment


Title: Allow sorting file contents on windows machines by TomsCodingCode · Pull Request #1257 · pre-commit/pre-commit-hooks · GitHub

Open Graph Title: Allow sorting file contents on windows machines by TomsCodingCode · Pull Request #1257 · pre-commit/pre-commit-hooks

X Title: Allow sorting file contents on windows machines by TomsCodingCode · Pull Request #1257 · pre-commit/pre-commit-hooks

Description: Some out-of-the-box hooks for pre-commit. Contribute to pre-commit/pre-commit-hooks development by creating an account on GitHub.

Open Graph Description: I ran into this issue, because in one of our CI/CD pipeline's we run the pre-commit checks on a windows image, which would result in a puzzling output from the file_contents_sorter hook. Before...

X Description: I ran into this issue, because in one of our CI/CD pipeline's we run the pre-commit checks on a windows image, which would result in a puzzling output from the file_contents_sorter hook. Be...

Opengraph URL: https://github.com/pre-commit/pre-commit-hooks/pull/1257

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9833df0a-f1f8-11df-8a97-79672865592a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB530:1D5589:1740CE1:1F01577:6A52BC81
html-safe-noncea0762923ad28c971911a96169a8baf7cd9bddd871412fd9af2caa660eca3d114
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTMwOjFENTU4OToxNzQwQ0UxOjFGMDE1Nzc6NkE1MkJDODEiLCJ2aXNpdG9yX2lkIjoiNDc1MTYwODc2MTg2MDQwNjQwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8cbc9f5b6dde1aff7ee57e7c1fc754e2b75a26217078a99d893b6c4a21349416
hovercard-subject-tagpull_request:3783609481
github-keyboard-shortcutsrepository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pre-commit/pre-commit-hooks/1257/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7a52614793a634bbfc462253269ebfb4b8a853c5ad33f3af33307269cb6dda65/pre-commit/pre-commit-hooks/pull/1257
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a52614793a634bbfc462253269ebfb4b8a853c5ad33f3af33307269cb6dda65/pre-commit/pre-commit-hooks/pull/1257
og:image:altI ran into this issue, because in one of our CI/CD pipeline's we run the pre-commit checks on a windows image, which would result in a puzzling output from the file_contents_sorter hook. Before...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTomsCodingCode
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/pre-commit/pre-commit-hooks git https://github.com/pre-commit/pre-commit-hooks.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17714713
octolytics-dimension-repository_nwopre-commit/pre-commit-hooks
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17714713
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit-hooks
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit-hooks/pull/1257#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit-hooks%2Fpull%2F1257
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit-hooks%2Fpull%2F1257
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit-hooks
Reloadhttps://github.com/pre-commit/pre-commit-hooks/pull/1257
Reloadhttps://github.com/pre-commit/pre-commit-hooks/pull/1257
Reloadhttps://github.com/pre-commit/pre-commit-hooks/pull/1257
Please reload this pagehttps://github.com/pre-commit/pre-commit-hooks/pull/1257
pre-commit https://github.com/pre-commit
pre-commit-hookshttps://github.com/pre-commit/pre-commit-hooks
Please reload this pagehttps://github.com/pre-commit/pre-commit-hooks/pull/1257
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit-hooks
Fork 792 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit-hooks
Star 6.6k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit-hooks
Code https://github.com/pre-commit/pre-commit-hooks
Issues 6 https://github.com/pre-commit/pre-commit-hooks/issues
Pull requests 0 https://github.com/pre-commit/pre-commit-hooks/pulls
Actions https://github.com/pre-commit/pre-commit-hooks/actions
Security and quality 0 https://github.com/pre-commit/pre-commit-hooks/security
Insights https://github.com/pre-commit/pre-commit-hooks/pulse
Code https://github.com/pre-commit/pre-commit-hooks
Issues https://github.com/pre-commit/pre-commit-hooks/issues
Pull requests https://github.com/pre-commit/pre-commit-hooks/pulls
Actions https://github.com/pre-commit/pre-commit-hooks/actions
Security and quality https://github.com/pre-commit/pre-commit-hooks/security
Insights https://github.com/pre-commit/pre-commit-hooks/pulse
TomsCodingCodehttps://github.com/TomsCodingCode
pre-commit:mainhttps://github.com/pre-commit/pre-commit-hooks/tree/main
TomsCodingCode:mainhttps://github.com/TomsCodingCode/pre-commit-hooks/tree/main
Conversationhttps://github.com/pre-commit/pre-commit-hooks/pull/1257
Commits1 (1)https://github.com/pre-commit/pre-commit-hooks/pull/1257/commits
Checkshttps://github.com/pre-commit/pre-commit-hooks/pull/1257/checks
Files changedhttps://github.com/pre-commit/pre-commit-hooks/pull/1257/files
Allow sorting file contents on windows machineshttps://github.com/pre-commit/pre-commit-hooks/pull/1257#top
TomsCodingCodehttps://github.com/TomsCodingCode
pre-commit:mainhttps://github.com/pre-commit/pre-commit-hooks/tree/main
TomsCodingCode:mainhttps://github.com/TomsCodingCode/pre-commit-hooks/tree/main
https://github.com/TomsCodingCode
TomsCodingCodehttps://github.com/TomsCodingCode
Jun 1, 2026https://github.com/pre-commit/pre-commit-hooks/pull/1257#issue-4566214284
Please reload this pagehttps://github.com/pre-commit/pre-commit-hooks/pull/1257
use auto detected newline instead of hardcoded \n for line splittinghttps://github.com/pre-commit/pre-commit-hooks/pull/1257/commits/56201ac0ed880c9c249f36c422e1faacc014adb4
56201achttps://github.com/pre-commit/pre-commit-hooks/pull/1257/commits/56201ac0ed880c9c249f36c422e1faacc014adb4
https://github.com/asottile
asottilehttps://github.com/asottile
Jun 1, 2026https://github.com/pre-commit/pre-commit-hooks/pull/1257#issuecomment-4596380911
Please reload this pagehttps://github.com/pre-commit/pre-commit-hooks/pull/1257
https://github.com/asottile
asottilehttps://github.com/asottile
Jun 1, 2026https://github.com/pre-commit/pre-commit-hooks/pull/1257#event-26206610841
https://github.com/pre-commit
pre-commithttps://github.com/pre-commit
Jun 1, 2026https://github.com/pre-commit/pre-commit-hooks/pull/1257#event-26206614999
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit-hooks/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit-hooks%2Fpull%2F1257
Please reload this pagehttps://github.com/pre-commit/pre-commit-hooks/pull/1257
https://github.com/TomsCodingCode
https://github.com/asottile
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.