chore(deps): Update Prek to v0.5.0 - #196
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.4.14→0.5.0Release Notes
j178/prek (prek)
v0.5.0Compare Source
Released on 2026-08-27.
Highlights
Choose where hook toolchains come from
language_versionnow accepts a sourcepreferencealongside the versionrequest, letting you control where prek looks for a compatible toolchain whenit creates a hook environment. Use
managed(the default) orsystemto choosewhich source prek tries first while still allowing fallback and downloads. Use
only-managedoronly-systemto require one source.For example, this local Ruff hook requires a Python 3.12 toolchain managed by
prek:
With
only-managed, prek reuses a compatible toolchain from its managed storeor downloads one when needed. It never falls back to Python from
PATH, an OSpackage manager, or a version manager, so toolchain selection does not depend on
the developer or CI machine's external environment.
Existing scalar values such as
language_version: "3.12"continue to work. Seetoolchain management and
language_versionfor the full source-selection behavior. (#2613)
Breaking changes
The breaking changes in this release are mostly small cleanups, and most users should not be affected.
@. This prefix is now reserved for special group selectors such as the new@ungroupedselector. (#2617)PREK_MAX_CONCURRENCYhas been removed. UsePREK_CONCURRENT_HOOKSandPREK_CONCURRENT_BATCHESto control hook and per-hook batch concurrency separately. (#2620)prek init-template-dircommand has been removed. Useprek util init-template-dir, orprek init-templatedirfor drop-in compatibility withpre-commit. (#2623)prek auto-updatehas been removed. Useprek update, orprek autoupdatefor drop-in compatibility withpre-commit. (#2619)Enhancements
language: pythonto opt out of fast-path hooks (#2608)runandupdateoptions in CLI help (#2629)@ungroupedgroup selector (#2617){hook_repo}placeholder in hookentry(#2602)Bug fixes
Documentation
Contributors
Configuration
📅 Schedule: (UTC)
* * * * *)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.