René's URL Explorer Experiment


Title: History for pre_commit/parse_shebang.py - precommit/pre-commit · GitHub

Open Graph Title: History for pre_commit/parse_shebang.py - precommit/pre-commit

X Title: History for pre_commit/parse_shebang.py - precommit/pre-commit

Description: A framework for managing and maintaining multi-language pre-commit hooks. - History for pre_commit/parse_shebang.py - precommit/pre-commit

Open Graph Description: A framework for managing and maintaining multi-language pre-commit hooks. - History for pre_commit/parse_shebang.py - precommit/pre-commit

X Description: A framework for managing and maintaining multi-language pre-commit hooks. - History for pre_commit/parse_shebang.py - precommit/pre-commit

Opengraph URL: https://github.com/precommit/pre-commit

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/commits(/*name)
route-controllercommits
route-actionshow
fetch-noncev2:9c885c7a-ab2b-6248-4ad9-6b243a5511b3
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB11E:1E2237:147EDB:1B2BD0:6A533031
html-safe-nonceb65bce51fbac713975196864de6723127ba94a5d5fd56e2070f3f403235f2457
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTFFOjFFMjIzNzoxNDdFREI6MUIyQkQwOjZBNTMzMDMxIiwidmlzaXRvcl9pZCI6IjI0NzcwOTk1NzA1OTA1OTMwNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5addfe427038568440108ed39963de1f1f8da0db933f443bf11bbefd2b33d9a5
hovercard-subject-tagrepository:296000270
github-keyboard-shortcutsrepository,commits,commit-list,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commits/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py
twitter:imagehttps://opengraph.githubassets.com/327c5227e3054592a29117e1b8d2df38e4d518e5ba2a69498d3bf37dc2d528bf/precommit/pre-commit
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/327c5227e3054592a29117e1b8d2df38e4d518e5ba2a69498d3bf37dc2d528bf/precommit/pre-commit
og:image:altA framework for managing and maintaining multi-language pre-commit hooks. - History for pre_commit/parse_shebang.py - precommit/pre-commit
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/precommit/pre-commit git https://github.com/precommit/pre-commit.git
octolytics-dimension-user_id71381577
octolytics-dimension-user_loginprecommit
octolytics-dimension-repository_id296000270
octolytics-dimension-repository_nwoprecommit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id17689377
octolytics-dimension-repository_parent_nwopre-commit/pre-commit
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
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/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprecommit%2Fpre-commit%2Fcommits%2Fmaster%2Fpre_commit%2Fparse_shebang.py
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%2Fprecommit%2Fpre-commit%2Fcommits%2Fmaster%2Fpre_commit%2Fparse_shebang.py
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%2Fcommits%2Fshow&source=header-repo&source_repo=precommit%2Fpre-commit
Reloadhttps://github.com/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py
Reloadhttps://github.com/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py
Reloadhttps://github.com/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py
Please reload this pagehttps://github.com/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py
precommit https://github.com/precommit
pre-commithttps://github.com/precommit/pre-commit
pre-commit/pre-commithttps://github.com/pre-commit/pre-commit
Notifications https://github.com/login?return_to=%2Fprecommit%2Fpre-commit
Fork 0 https://github.com/login?return_to=%2Fprecommit%2Fpre-commit
Star 0 https://github.com/login?return_to=%2Fprecommit%2Fpre-commit
Code https://github.com/precommit/pre-commit
Pull requests 0 https://github.com/precommit/pre-commit/pulls
Actions https://github.com/precommit/pre-commit/actions
Projects https://github.com/precommit/pre-commit/projects
Security and quality 0 https://github.com/precommit/pre-commit/security
Insights https://github.com/precommit/pre-commit/pulse
Code https://github.com/precommit/pre-commit
Pull requests https://github.com/precommit/pre-commit/pulls
Actions https://github.com/precommit/pre-commit/actions
Projects https://github.com/precommit/pre-commit/projects
Security and quality https://github.com/precommit/pre-commit/security
Insights https://github.com/precommit/pre-commit/pulse
pre-commithttps://github.com/precommit/pre-commit/commits
pre_commithttps://github.com/precommit/pre-commit/commits/master/pre_commit
parse_shebang.pyhttps://github.com/precommit/pre-commit/commits/master/pre_commit/parse_shebang.py
masterhttps://github.com/precommit/pre-commit/tree/master
Use covdefaults to handle coveragerchttps://github.com/precommit/pre-commit/commit/67c1beb3229cb929a9e52a48cdf1c04028452e77
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
67c1bebhttps://github.com/precommit/pre-commit/commit/67c1beb3229cb929a9e52a48cdf1c04028452e77
https://github.com/precommit/pre-commit/blob/67c1beb3229cb929a9e52a48cdf1c04028452e77/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/67c1beb3229cb929a9e52a48cdf1c04028452e77
Fix pre-commit in python 3.6.0-3.6.1https://github.com/precommit/pre-commit/commit/9e4dc7f3492ccb4db1dd9e7e4d4584aafde41092
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
9e4dc7fhttps://github.com/precommit/pre-commit/commit/9e4dc7f3492ccb4db1dd9e7e4d4584aafde41092
https://github.com/precommit/pre-commit/blob/9e4dc7f3492ccb4db1dd9e7e4d4584aafde41092/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/9e4dc7f3492ccb4db1dd9e7e4d4584aafde41092
Move most of the actual hook script into `pre-commit hook-impl`https://github.com/precommit/pre-commit/commit/95b8d71bd98cd91a4dad63aa0f8097ed8af2adaa
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
95b8d71https://github.com/precommit/pre-commit/commit/95b8d71bd98cd91a4dad63aa0f8097ed8af2adaa
https://github.com/precommit/pre-commit/blob/95b8d71bd98cd91a4dad63aa0f8097ed8af2adaa/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/95b8d71bd98cd91a4dad63aa0f8097ed8af2adaa
More miscellaneous cleanuphttps://github.com/precommit/pre-commit/commit/df40e862f4ec4721d2950e29c08e83462cc70ff6
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
df40e86https://github.com/precommit/pre-commit/commit/df40e862f4ec4721d2950e29c08e83462cc70ff6
https://github.com/precommit/pre-commit/blob/df40e862f4ec4721d2950e29c08e83462cc70ff6/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/df40e862f4ec4721d2950e29c08e83462cc70ff6
Clean up calls to .encode() / .decode()https://github.com/precommit/pre-commit/commit/aefbe717652ec86a2b5d6099bec8e6b3ff439b77
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
aefbe71https://github.com/precommit/pre-commit/commit/aefbe717652ec86a2b5d6099bec8e6b3ff439b77
https://github.com/precommit/pre-commit/blob/aefbe717652ec86a2b5d6099bec8e6b3ff439b77/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/aefbe717652ec86a2b5d6099bec8e6b3ff439b77
Add types to pre-commithttps://github.com/precommit/pre-commit/commit/327ed924a3c4731f12e974f7d593eb90a7a5938e
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
327ed92https://github.com/precommit/pre-commit/commit/327ed924a3c4731f12e974f7d593eb90a7a5938e
https://github.com/precommit/pre-commit/blob/327ed924a3c4731f12e974f7d593eb90a7a5938e/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/327ed924a3c4731f12e974f7d593eb90a7a5938e
upgrade hooks, pyupgrade pre-commithttps://github.com/precommit/pre-commit/commit/30c1e8289f062d73d904bff3e4f3b067b6a1a8b2
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
30c1e82https://github.com/precommit/pre-commit/commit/30c1e8289f062d73d904bff3e4f3b067b6a1a8b2
https://github.com/precommit/pre-commit/blob/30c1e8289f062d73d904bff3e4f3b067b6a1a8b2/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/30c1e8289f062d73d904bff3e4f3b067b6a1a8b2
Handle case when executable is not executablehttps://github.com/precommit/pre-commit/commit/95dbf1190ae2cb801377abfc18d693ac8db383ed
https://github.com/WillKoehrsen
WillKoehrsenhttps://github.com/precommit/pre-commit/commits?author=WillKoehrsen
95dbf11https://github.com/precommit/pre-commit/commit/95dbf1190ae2cb801377abfc18d693ac8db383ed
https://github.com/precommit/pre-commit/blob/95dbf1190ae2cb801377abfc18d693ac8db383ed/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/95dbf1190ae2cb801377abfc18d693ac8db383ed
Improve not found error with script paths (`./exe`)https://github.com/precommit/pre-commit/commit/c2e4040756e330284ed21480130a0f5d6f6afeea
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
c2e4040https://github.com/precommit/pre-commit/commit/c2e4040756e330284ed21480130a0f5d6f6afeea
https://github.com/precommit/pre-commit/blob/c2e4040756e330284ed21480130a0f5d6f6afeea/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/c2e4040756e330284ed21480130a0f5d6f6afeea
https-ify linkshttps://github.com/precommit/pre-commit/commit/5a4dc0ce30348dbe493fa6d67455c46ef30d8b39
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
5a4dc0chttps://github.com/precommit/pre-commit/commit/5a4dc0ce30348dbe493fa6d67455c46ef30d8b39
https://github.com/precommit/pre-commit/blob/5a4dc0ce30348dbe493fa6d67455c46ef30d8b39/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/5a4dc0ce30348dbe493fa6d67455c46ef30d8b39
Replace our implementation of shebang parsing with identify'shttps://github.com/precommit/pre-commit/commit/f956f421be39078617cbb3858796f7562ae26f9e
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
f956f42https://github.com/precommit/pre-commit/commit/f956f421be39078617cbb3858796f7562ae26f9e
https://github.com/precommit/pre-commit/blob/f956f421be39078617cbb3858796f7562ae26f9e/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/f956f421be39078617cbb3858796f7562ae26f9e
Fix eslint on windowshttps://github.com/precommit/pre-commit/commit/42000c452169e873aa29ce071db4b3fcad2c8d84
42000c4https://github.com/precommit/pre-commit/commit/42000c452169e873aa29ce071db4b3fcad2c8d84
https://github.com/precommit/pre-commit/blob/42000c452169e873aa29ce071db4b3fcad2c8d84/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/42000c452169e873aa29ce071db4b3fcad2c8d84
xargs returns nonzero for negate + not found exe (fixes pcre + not found #447)https://github.com/precommit/pre-commit/commit/a157e1a63f2b29f835a4f644282843ddc60e0025
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
a157e1ahttps://github.com/precommit/pre-commit/commit/a157e1a63f2b29f835a4f644282843ddc60e0025
https://github.com/precommit/pre-commit/blob/a157e1a63f2b29f835a4f644282843ddc60e0025/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/a157e1a63f2b29f835a4f644282843ddc60e0025
shlex.split works in py27+https://github.com/precommit/pre-commit/commit/cce59d79576bcfc2c44f2ca4c3c6be2b82f2dd36
cce59d7https://github.com/precommit/pre-commit/commit/cce59d79576bcfc2c44f2ca4c3c6be2b82f2dd36
https://github.com/precommit/pre-commit/blob/cce59d79576bcfc2c44f2ca4c3c6be2b82f2dd36/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/cce59d79576bcfc2c44f2ca4c3c6be2b82f2dd36
Remove py26 format literalshttps://github.com/precommit/pre-commit/commit/b81c9802ae68854bbfd171ee725ac730fc5150f7
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
b81c980https://github.com/precommit/pre-commit/commit/b81c9802ae68854bbfd171ee725ac730fc5150f7
https://github.com/precommit/pre-commit/blob/b81c9802ae68854bbfd171ee725ac730fc5150f7/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/b81c9802ae68854bbfd171ee725ac730fc5150f7
Don't crash when an executable is not foundhttps://github.com/precommit/pre-commit/commit/5a6b6e81e90d071b9c1cfd9ade7ec3b0b0c39b61
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
5a6b6e8https://github.com/precommit/pre-commit/commit/5a6b6e81e90d071b9c1cfd9ade7ec3b0b0c39b61
https://github.com/precommit/pre-commit/blob/5a6b6e81e90d071b9c1cfd9ade7ec3b0b0c39b61/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/5a6b6e81e90d071b9c1cfd9ade7ec3b0b0c39b61
Add utility for parsing shebangs and resolving PATHhttps://github.com/precommit/pre-commit/commit/82369fd99f0a9a30ec4039f0703bdaf8c6cc5a3b
https://github.com/asottile
asottilehttps://github.com/precommit/pre-commit/commits?author=asottile
82369fdhttps://github.com/precommit/pre-commit/commit/82369fd99f0a9a30ec4039f0703bdaf8c6cc5a3b
https://github.com/precommit/pre-commit/blob/82369fd99f0a9a30ec4039f0703bdaf8c6cc5a3b/pre_commit/parse_shebang.py
https://github.com/precommit/pre-commit/tree/82369fd99f0a9a30ec4039f0703bdaf8c6cc5a3b
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.