build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main)
Metadata
Current evaluation
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.
Suggested action: —
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.
- [#​1115](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1115) PR by [@​homebysix](https://redirect.github.com/homebysix).
#### Migrating
- now requires python >= 3.9.
- [#​1098](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1098) PR by [@​asottile](https://redirect.github.com/asottile).
- `file-contents-sorter`: disallow `--unique` and `--ignore-case` at the same
time.
- [#​1095](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1095) PR by [@​nemacysts](https://redirect.github.com/nemacysts).
- [#​794](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/794) issue by [@​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`.
- [#​1034](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1034) PR by [@​mxr](https://redirect.github.com/mxr).
- [#​1032](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@​mxr](https://redirect.github.com/mxr).
- [#​522](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/522) PR by [@​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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated Renovate PR updating pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0 on main. The major release enforces Python >= 3.9 and removes deprecated hooks. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #195 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) | craft-archives | merged | Merged automated update to pre-commit/pre-commit-hooks v6.0.0. Approved by two reviewers with all CI checks passing. The upgrade enforces Python 3.9+ and removes deprecated hooks. | |
| #401 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) | craft-cli | merged | Merged automated dependency update upgrading pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers, passed all CI checks, and merged to main with a single file change. | |
| #111 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 | craft-grammar | merged | Merged automated dependency update upgrading pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers, passed all CI checks, and updated the configuration file to reflect the major version release. | |
| #304 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) | craft-store | merged | Merged automated dependency update upgrading pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers with all CI checks passing. The change updates a single configuration file to reflect the new major version. | |
| #25 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 | craft-artifacts | merged | Merged automated dependency update upgrading pre-commit/pre-commit-hooks from v5.0.0 to v6.0.0. Approved by reviewers, passed all CI checks, and merged with a single line change. | |
| #5703 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) | snapcraft | merged | Merged automated dependency update upgrading pre-commit/pre-commit-hooks from v5 to v6. Approved by reviewers, passed CI checks, and integrated into main. | |
| #852 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (main) | craft-application | merged | Merged automated dependency update upgrading pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers with all CI checks passing. The change updates a single configuration line to reflect the new major version requirement. | |
| #70 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 | starflow | merged | Merged automated dependency update upgrading pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers, passed all CI checks, and modified a single file. | |
| #425 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 | starbase | merged | Merged automated dependency update for pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers, passed all CI checks, and merged with a single configuration line change. | |
| #13 build(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 | debcraft | merged | Merged automated dependency update upgrading pre-commit-hooks from v5.0.0 to v6.0.0. Approved by two reviewers, passed all CI checks, and applied a minimal one-line configuration change. |