Renovate: Update pre-commit hook pre-commit/pre-commit-hooks to v6 #162

Open
renovate wants to merge 1 commit from renovate/pre-commit-pre-commit-hooks-6.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
pre-commit/pre-commit-hooks repository major v4.6.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 if you have any questions.


Release Notes

pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)

v6.0.0: pre-commit-hooks v6.0.0

Compare Source

Fixes

Migrating

v5.0.0: pre-commit-hooks v5.0.0

Compare Source

Features
Fixes
Migrating
  • pre-commit-hooks now requires pre-commit>=3.2.0.
  • use non-deprecated names for stages.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pre-commit/pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) | repository | major | `v4.6.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://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://github.com/pre-commit/pre-commit-hooks/releases/tag/v6.0.0): pre-commit-hooks v6.0.0 [Compare Source](https://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://github.com/pre-commit/pre-commit-hooks/issues/1115) PR by [@&#8203;homebysix](https://github.com/homebysix). #### Migrating - now requires python >= 3.9. - [#&#8203;1098](https://github.com/pre-commit/pre-commit-hooks/issues/1098) PR by [@&#8203;asottile](https://github.com/asottile). - `file-contents-sorter`: disallow `--unique` and `--ignore-case` at the same time. - [#&#8203;1095](https://github.com/pre-commit/pre-commit-hooks/issues/1095) PR by [@&#8203;nemacysts](https://github.com/nemacysts). - [#&#8203;794](https://github.com/pre-commit/pre-commit-hooks/issues/794) issue by [@&#8203;teksturi](https://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://github.com/pre-commit/pre-commit-hooks/issues/1034) PR by [@&#8203;mxr](https://github.com/mxr). - [#&#8203;1032](https://github.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@&#8203;mxr](https://github.com/mxr). - [#&#8203;522](https://github.com/pre-commit/pre-commit-hooks/issues/522) PR by [@&#8203;jgowdy](https://github.com/jgowdy). ### [`v5.0.0`](https://github.com/pre-commit/pre-commit-hooks/releases/tag/v5.0.0): pre-commit-hooks v5.0.0 [Compare Source](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) ##### Features - `requirements-txt-fixer`: also remove `pkg_resources==...`. - [#&#8203;850](https://github.com/pre-commit/pre-commit-hooks/issues/850) PR by [@&#8203;ericfrederich](https://github.com/ericfrederich). - [#&#8203;1030](https://github.com/pre-commit/pre-commit-hooks/issues/1030) issue by [@&#8203;ericfrederich](https://github.com/ericfrederich). - `check-illegal-windows-names`: new hook! - [#&#8203;1044](https://github.com/pre-commit/pre-commit-hooks/issues/1044) PR by [@&#8203;ericfrederich](https://github.com/ericfrederich). - [#&#8203;589](https://github.com/pre-commit/pre-commit-hooks/issues/589) issue by [@&#8203;ericfrederich](https://github.com/ericfrederich). - [#&#8203;1049](https://github.com/pre-commit/pre-commit-hooks/issues/1049) PR by [@&#8203;Jeffrey-Lim](https://github.com/Jeffrey-Lim). - `pretty-format-json`: continue processing even if a file has a json error. - [#&#8203;1039](https://github.com/pre-commit/pre-commit-hooks/issues/1039) PR by [@&#8203;amarvin](https://github.com/amarvin). - [#&#8203;1038](https://github.com/pre-commit/pre-commit-hooks/issues/1038) issue by [@&#8203;amarvin](https://github.com/amarvin). ##### Fixes - `destroyed-symlinks`: set `stages` to `[pre-commit, pre-push, manual]` - PR [#&#8203;1085](https://github.com/pre-commit/pre-commit-hooks/issues/1085) by [@&#8203;AdrianDC](https://github.com/AdrianDC). ##### Migrating - pre-commit-hooks now requires `pre-commit>=3.2.0`. - use non-deprecated names for `stages`. - [#&#8203;1093](https://github.com/pre-commit/pre-commit-hooks/issues/1093) PR by [@&#8203;asottile](https://github.com/asottile). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/pre-commit-pre-commit-hooks-6.x:renovate/pre-commit-pre-commit-hooks-6.x
git switch renovate/pre-commit-pre-commit-hooks-6.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/pre-commit-pre-commit-hooks-6.x
git switch renovate/pre-commit-pre-commit-hooks-6.x
git rebase main
git switch main
git merge --ff-only renovate/pre-commit-pre-commit-hooks-6.x
git switch renovate/pre-commit-pre-commit-hooks-6.x
git rebase main
git switch main
git merge --no-ff renovate/pre-commit-pre-commit-hooks-6.x
git switch main
git merge --squash renovate/pre-commit-pre-commit-hooks-6.x
git switch main
git merge --ff-only renovate/pre-commit-pre-commit-hooks-6.x
git switch main
git merge renovate/pre-commit-pre-commit-hooks-6.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
NB-Public/rocketchat2matrix!162
No description provided.