René's URL Explorer Experiment


Title: Replace pre-commit with prek for faster linting · Issue #143148 · python/cpython · GitHub

Open Graph Title: Replace pre-commit with prek for faster linting · Issue #143148 · python/cpython

X Title: Replace pre-commit with prek for faster linting · Issue #143148 · python/cpython

Description: Feature or enhancement Proposal: First, I hope this is the correct issue template. If not, please let me know, and I can resubmit the proposal using the proper template. prek is a "reimagined version of pre-commit, [...] designed to be a...

Open Graph Description: Feature or enhancement Proposal: First, I hope this is the correct issue template. If not, please let me know, and I can resubmit the proposal using the proper template. prek is a "reimagined versi...

X Description: Feature or enhancement Proposal: First, I hope this is the correct issue template. If not, please let me know, and I can resubmit the proposal using the proper template. prek is a "reimagined ...

Opengraph URL: https://github.com/python/cpython/issues/143148

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace pre-commit with prek for faster linting","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nFirst, I hope this is the correct issue template. If not, please let me know, and I can resubmit the proposal using the proper template.\n\n[prek](https://github.com/j178/prek) is a \"reimagined version of pre-commit, [...] designed to be a faster, dependency-free and drop-in alternative\".\nIt has already been adopted by major projects from Apache, FastAPI, and Django (see [prek/Who is using prek?](https://github.com/j178/prek#who-is-using-prek)).\n\nRunning prek against the entire CPython codebase yields a speedup of almost 2.5x without a cache and 1.25x with a warm cache.\n\n```shell\nhyperfine --warmup 2 --runs 5 \\\n  --prepare \"prek cache clean\" \"prek run --all-files\" \\\n  --prepare \"pre-commit clean\" \"pre-commit run --all-files\"\nBenchmark 1: prek run --all-files\n  Time (mean ± σ):     19.835 s ±  0.290 s    [User: 50.857 s, System: 6.248 s]\n  Range (min … max):   19.527 s … 20.201 s    5 runs\n\nBenchmark 2: pre-commit run --all-files\n  Time (mean ± σ):     48.944 s ±  0.448 s    [User: 76.063 s, System: 6.096 s]\n  Range (min … max):   48.522 s … 49.681 s    5 runs\n\nSummary\n  prek run --all-files ran\n    2.47 ± 0.04 times faster than pre-commit run --all-files\n```\n\n```shell\nhyperfine --warmup 2 --runs 5 \\\n  \"prek run --all-files\" \\\n  \"pre-commit run --all-files\"\nBenchmark 1: prek run --all-files\n  Time (mean ± σ):      6.763 s ±  0.124 s    [User: 35.990 s, System: 2.134 s]\n  Range (min … max):    6.589 s …  6.900 s    5 runs\n\nBenchmark 2: pre-commit run --all-files\n  Time (mean ± σ):      8.537 s ±  0.048 s    [User: 43.797 s, System: 1.903 s]\n  Range (min … max):    8.484 s …  8.608 s    5 runs\n\nSummary\n  prek run --all-files ran\n    1.26 ± 0.02 times faster than pre-commit run --all-files\n```\n\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-143149\n* gh-143359\n* gh-143360\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/juhannc","@type":"Person","name":"juhannc"},"datePublished":"2025-12-24T15:26:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/143148/cpython/issues/143148"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0c0cb3c9-df12-daa2-c943-d789109e57ff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A7C:861EA:184C7FB:209FFDA:6969BEA1
html-safe-nonceaed4b1194c221700983a0b427bc8fe81770d9071e409737b8afbff3f39fcf6b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTdDOjg2MUVBOjE4NEM3RkI6MjA5RkZEQTo2OTY5QkVBMSIsInZpc2l0b3JfaWQiOiIzMjQ3NjY4MzIwMzk0NjU3NDQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb5a73dee8a5ade1fbecd6446a1cb2bf729ba803473af464a09481817a9a75632
hovercard-subject-tagissue:3760582217
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/143148/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8d3dd7c41dbc2cce90f02461d27275f1108f83f693d1ab9c8fedc6c3666b0991/python/cpython/issues/143148
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d3dd7c41dbc2cce90f02461d27275f1108f83f693d1ab9c8fedc6c3666b0991/python/cpython/issues/143148
og:image:altFeature or enhancement Proposal: First, I hope this is the correct issue template. If not, please let me know, and I can resubmit the proposal using the proper template. prek is a "reimagined versi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejuhannc
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/143148#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F143148
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpython%2Fcpython%2Fissues%2F143148
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/143148
Reloadhttps://github.com/python/cpython/issues/143148
Reloadhttps://github.com/python/cpython/issues/143148
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/143148
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/143148
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/143148
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/143148
#143149https://github.com/python/cpython/pull/143149
Replace pre-commit with prek for faster lintinghttps://github.com/python/cpython/issues/143148#top
#143149https://github.com/python/cpython/pull/143149
infraCI, GitHub Actions, buildbots, Dependabot, etc.https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22infra%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/juhannc
https://github.com/juhannc
juhannchttps://github.com/juhannc
on Dec 24, 2025https://github.com/python/cpython/issues/143148#issue-3760582217
prekhttps://github.com/j178/prek
prek/Who is using prek?https://github.com/j178/prek#who-is-using-prek
gh-143148: Replace pre-commit with prek in CI #143149https://github.com/python/cpython/pull/143149
[3.13] gh-143148: Replace pre-commit with prek in CI (GH-143149) #143359https://github.com/python/cpython/pull/143359
[3.14] gh-143148: Replace pre-commit with prek in CI (GH-143149) #143360https://github.com/python/cpython/pull/143360
infraCI, GitHub Actions, buildbots, Dependabot, etc.https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22infra%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
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.