Skip to content

Commit

Permalink
chore(deps): renovate: pre-commit/pre-commit-hooks to v5 (#490)
Browse files Browse the repository at this point in the history
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 | `v4.6.0` -> `v5.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>

###
[`v5.0.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v5.0.0):
pre-commit-hooks v5.0.0

[Compare
Source](https://redirect.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://redirect.github.com/pre-commit/pre-commit-hooks/issues/850)
PR by
[@&#8203;ericfrederich](https://redirect.github.com/ericfrederich).
-
[#&#8203;1030](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1030)
issue by
[@&#8203;ericfrederich](https://redirect.github.com/ericfrederich).
-   `check-illegal-windows-names`: new hook!
-
[#&#8203;1044](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1044)
PR by
[@&#8203;ericfrederich](https://redirect.github.com/ericfrederich).
-
[#&#8203;589](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/589)
issue by
[@&#8203;ericfrederich](https://redirect.github.com/ericfrederich).
-
[#&#8203;1049](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1049)
PR by [@&#8203;Jeffrey-Lim](https://redirect.github.com/Jeffrey-Lim).
- `pretty-format-json`: continue processing even if a file has a json
error.
-
[#&#8203;1039](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1039)
PR by [@&#8203;amarvin](https://redirect.github.com/amarvin).
-
[#&#8203;1038](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1038)
issue by [@&#8203;amarvin](https://redirect.github.com/amarvin).

##### Fixes

- `destroyed-symlinks`: set `stages` to `[pre-commit, pre-push, manual]`
- PR
[#&#8203;1085](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1085)
by [@&#8203;AdrianDC](https://redirect.github.com/AdrianDC).

##### Migrating

-   pre-commit-hooks now requires `pre-commit>=3.2.0`.
-   use non-deprecated names for `stages`.
-
[#&#8203;1093](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1093)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 1 * *" (UTC), Automerge - "* *
* * 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 3, 2024
1 parent b6465db commit 619ca05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
args:
- --quote-props=as-needed
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-case-conflict
- id: check-docstring-first
Expand Down

0 comments on commit 619ca05

Please sign in to comment.