chore(deps): update dependency prek to v0.5.0 #57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/prek-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.