Skip to content

Commit 661658a

Browse files
chore(deps): renovate: pre-commit/pre-commit-hooks to v6 (#595)
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 - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - Monday through Friday ( * * * * 1-5 ) (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. --- - [ ] <!-- 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/UCL-ARC/python-tooling). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS45IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sam Cunliffe <[email protected]>
1 parent d10a9a7 commit 661658a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
args:
3939
- --quote-props=as-needed
4040
- repo: https://github.com/pre-commit/pre-commit-hooks
41-
rev: v5.0.0
41+
rev: v6.0.0
4242
hooks:
4343
- id: check-case-conflict
4444
- id: check-docstring-first

tests/data/test_package_generation/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
args:
3030
- --quote-props=as-needed
3131
- repo: https://github.com/pre-commit/pre-commit-hooks
32-
rev: v5.0.0
32+
rev: v6.0.0
3333
hooks:
3434
- id: check-case-conflict
3535
- id: check-docstring-first

{{cookiecutter.project_slug}}/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
args:
3030
- --quote-props=as-needed
3131
- repo: https://github.com/pre-commit/pre-commit-hooks
32-
rev: v5.0.0
32+
rev: v6.0.0
3333
hooks:
3434
- id: check-case-conflict
3535
- id: check-docstring-first

0 commit comments

Comments
 (0)