Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 (#3597)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pre-commit/pre-commit-hooks](https://togithub.com/pre-commit/pre-commit-hooks)
| repository | minor | `v4.5.0` -> `v4.6.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://togithub.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>

###
[`v4.6.0`](https://togithub.com/pre-commit/pre-commit-hooks/releases/tag/v4.6.0):
pre-commit-hooks v4.6.0

[Compare
Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)

##### Features

-   `requirements-txt-fixer`: remove duplicate packages.
-
[#&#8203;1014](https://togithub.com/pre-commit/pre-commit-hooks/issues/1014)
PR by
[@&#8203;vhoulbreque-withings](https://togithub.com/vhoulbreque-withings).
-
[#&#8203;960](https://togithub.com/pre-commit/pre-commit-hooks/issues/960)
issue [@&#8203;csibe17](https://togithub.com/csibe17).

##### Migrating

-   `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0.  use
[pyupgrade](https://togithub.com/asottile/pyupgrade) or some other tool.
-
[#&#8203;1033](https://togithub.com/pre-commit/pre-commit-hooks/issues/1033)
PR by [@&#8203;mxr](https://togithub.com/mxr).
-
[#&#8203;1032](https://togithub.com/pre-commit/pre-commit-hooks/issues/1032)
issue by [@&#8203;mxr](https://togithub.com/mxr).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2024-04-08 07:27:22 +02:00 committed by GitHub
parent ce57128317
commit e1b8fa6a67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ repos:
- id: check-hooks-apply - id: check-hooks-apply
- id: check-useless-excludes - id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 rev: v4.6.0
hooks: hooks:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace