Repository navigation
chore(deps): update dependency prek to v0.6.0 - #486
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #486 +/- ##
=======================================
Coverage 79.14% 79.14%
=======================================
Files 11 11
Lines 235 235
Branches 28 28
=======================================
Hits 186 186
Misses 45 45
Partials 4 4 ☔ View full report in Codecov by Harness. |
renovate
Bot
force-pushed
the
renovate/prek-0.x
branch
from
December 2, 2026 03:33
60ed11f to
86918f8
Compare
renovate
Bot
force-pushed
the
renovate/prek-0.x
branch
from
December 2, 2026 04:32
86918f8 to
7b41da6
Compare
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.5→0.6.0Release Notes
j178/prek (prek)
v0.6.0Compare Source
Released on 2026-12-01.
Breaking changes
Most users can upgrade to 0.6 without changing their configuration or scripts.
The two CLI changes below align prek's exit codes with
pre-commit.--hook-stagetoprek run, it now exits with status1when none of those hooks matches the requested stage. To run every hook configured for a stage, omit the hook names. (#3105)prek updateandprek autoupdatenow validate every--repoargument before updating any revisions. A single unknown repository makes the command exit with status1. Use therepovalue as written in your config. (#3106)SSL_CERT_FILEorSSL_CERT_DIRis non-empty, prek's HTTP client (reqwest) trusts only the CA certificates loaded from those paths, even if it finds none. If you used these variables to add a private CA, include the public roots you need in the same trust bundle. To use the system trust store, unset both variables and setPREK_SYSTEM_CERTS=true.PREK_NATIVE_TLSremains a deprecated alias. (#2964)Highlights
Faster repeat checks with
prek updateprek updatenow reuses Git objects from earlier checks while still looking fornew upstream tags. In our GitHub benchmark, repeat runs of
prek update --checktook 62–74% less time with a warm cache. Median time fell from 2.20 s to 0.84 s
for
pre-commit/pre-commit-hooksand from 3.04 s to 0.80 s forcrate-ci/typos. (#3080)Configure hooks in
pyproject.tomlorCargo.tomlKeep your hooks in the manifest you already use. Put the same settings you would
use in
prek.tomlunder[tool.prek]inpyproject.toml, or under[package.metadata.prek]or[workspace.metadata.prek]inCargo.toml.A standalone hook configuration in the same directory still takes precedence. (#3093)
Include formatter fixes in the same commit
Set
stage_fixed = trueon a formatter to let the installed Gitpre-commithook include verified fixes to matching staged files in the same commit. This
saves a second round of
git addandgit commit. Manualprek runinvocationsstill leave fixes in the working tree for review. (#3085)
Enhancements
{config_dir}in hook entries and arguments (#3089)Performance
Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.