← Back to issue list

build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main)

View original Github issue

Metadata

Project
charmcraft
Number
#2421
Type
pull request
State
merged
Author
renovate[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2421 in commit f72507cf, updating pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0; the repository configuration now pins v6.0.0.

Resolution: closed resolved

Reason: PR canonical/charmcraft#2421 was merged after approval with all listed CI checks passing. Commit f72507cf records the v6.0.0 hook update.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pre-commit/pre-commit-hooks](https://redirect.github.com/pre-commit/pre-commit-hooks) | repository | major | `v5.0.0` -> `v6.0.0` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)</summary> ### [`v6.0.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v6.0.0): pre-commit-hooks v6.0.0 [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) #### Fixes - `check-shebang-scripts-are-executable`: improve error message. - [#&#8203;1115](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1115) PR by [@&#8203;homebysix](https://redirect.github.com/homebysix). #### Migrating - now requires python >= 3.9. - [#&#8203;1098](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1098) PR by [@&#8203;asottile](https://redirect.github.com/asottile). - `file-contents-sorter`: disallow `--unique` and `--ignore-case` at the same time. - [#&#8203;1095](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1095) PR by [@&#8203;nemacysts](https://redirect.github.com/nemacysts). - [#&#8203;794](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/794) issue by [@&#8203;teksturi](https://redirect.github.com/teksturi). - Removed `check-byte-order-marker` and `fix-encoding-pragma`. - `check-byte-order-marker`: migrate to `fix-byte-order-marker`. - `fix-encoding-pragma`: migrate to `pyupgrade`. - [#&#8203;1034](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1034) PR by [@&#8203;mxr](https://redirect.github.com/mxr). - [#&#8203;1032](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@&#8203;mxr](https://redirect.github.com/mxr). - [#&#8203;522](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/522) PR by [@&#8203;jgowdy](https://redirect.github.com/jgowdy). </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/charmcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2421 in commit f72507cf, updating pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0; the repository configuration now pins v6.0.0.
stealth/space-bunny-alpha — closed resolved Renovate PR #2421 bumped the pre-commit/pre-commit-hooks repo hook from v5.0.0 to v6.0.0 in .pre-commit-config.yaml. Merged as commit f72507cf after approval by 2 reviewers and a fully green CI run (no failing or pending checks).
stealth/space-bunny-alpha — closed resolved Renovate PR merged: pre-commit-hooks bumped v5.0.0 -> v6.0.0 in .pre-commit-config.yaml via commit f72507cf (#2421). Note: repo also previously had an earlier v6 bump in PR #425.
stealth/space-bunny-alpha — closed resolved Merged #2421 as f72507cf, updating pre-commit-hooks from v5.0.0 to v6.0.0 after approval and a fully passing CI run.
qwen/qwen3.6-35b-a3b — — Merged into main after passing all CI checks and receiving two approvals. The automated update upgrades pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0, enforcing Python 3.9 and removing deprecated hooks.
qwen3.6-35b-a3b-mtp-q6 — — Merged automated update upgrading pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0. The major release requires Python 3.9+, improves error messages, and removes deprecated hooks. Applied to main via Renovate.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5703 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) snapcraft merged Merged PR #5703, updating pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 in commit 9f9e1d396.
96%
#13 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 debcraft merged Merged PR #13 updated pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 in commit 92c478e.
95%
#158 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 craft-platforms merged PR #158 merged and updated pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0; the change landed in commit 524ff43.
95%
#401 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) craft-cli merged Merged #401 into main, upgrading pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 in .pre-commit-config.yaml via commit 76a0c15.
94%
#304 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) craft-store merged Renovate PR bumping the pre-commit/pre-commit-hooks hook from v5.0.0 to v6.0.0 in .pre-commit-config.yaml was approved and merged into main via commit 4b3c86d.
94%
#805 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) craft-providers merged Renovate PR #805 bumped the pre-commit/pre-commit-hooks repo from v5.0.0 to v6.0.0 in .pre-commit-config.yaml (+1/-1). Merged via commit 659de5c; all CI green and the hook rev remains v6.0.0 on main.
94%
#111 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 craft-grammar merged Renovate PR merged (commit c6cfd1a) bumping pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 in .pre-commit-config.yaml; config now pins rev v6.0.0 and all CI checks passed.
93%
#197 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 imagecraft merged Renovate PR merged in commit 5a8d0fa, bumping pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 in .pre-commit-config.yaml (1-line change).
93%
#852 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) craft-application merged Renovate PR merged: .pre-commit-config.yaml pins pre-commit/pre-commit-hooks v6.0.0 (from v5.0.0) in commit 8f466868; hook list already migrated to fix-byte-order-marker.
92%
#195 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) craft-archives merged Renovate PR canonical/craft-archives#195 merged into main, bumping pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 in .pre-commit-config.yaml (merge commit 0ab5cfa); config still pins v6.0.0.
92%