This PR contains the following updates:
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
check-shebang-scripts-are-executable: improve error message.
Migrating
- now requires python >= 3.9.
file-contents-sorter: disallow --unique and --ignore-case at the same
time.
- Removed
check-byte-order-marker and fix-encoding-pragma.
v5.0.0: pre-commit-hooks v5.0.0
Compare Source
Features
requirements-txt-fixer: also remove pkg_resources==....
check-illegal-windows-names: new hook!
pretty-format-json: continue processing even if a file has a json error.
Fixes
destroyed-symlinks: set stages to [pre-commit, pre-push, manual]
Migrating
- pre-commit-hooks now requires
pre-commit>=3.2.0.
- use non-deprecated names for
stages.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (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.
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.
- [#​1115](https://github.com/pre-commit/pre-commit-hooks/issues/1115) PR by [@​homebysix](https://github.com/homebysix).
#### Migrating
- now requires python >= 3.9.
- [#​1098](https://github.com/pre-commit/pre-commit-hooks/issues/1098) PR by [@​asottile](https://github.com/asottile).
- `file-contents-sorter`: disallow `--unique` and `--ignore-case` at the same
time.
- [#​1095](https://github.com/pre-commit/pre-commit-hooks/issues/1095) PR by [@​nemacysts](https://github.com/nemacysts).
- [#​794](https://github.com/pre-commit/pre-commit-hooks/issues/794) issue by [@​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`.
- [#​1034](https://github.com/pre-commit/pre-commit-hooks/issues/1034) PR by [@​mxr](https://github.com/mxr).
- [#​1032](https://github.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@​mxr](https://github.com/mxr).
- [#​522](https://github.com/pre-commit/pre-commit-hooks/issues/522) PR by [@​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==...`.
- [#​850](https://github.com/pre-commit/pre-commit-hooks/issues/850) PR by [@​ericfrederich](https://github.com/ericfrederich).
- [#​1030](https://github.com/pre-commit/pre-commit-hooks/issues/1030) issue by [@​ericfrederich](https://github.com/ericfrederich).
- `check-illegal-windows-names`: new hook!
- [#​1044](https://github.com/pre-commit/pre-commit-hooks/issues/1044) PR by [@​ericfrederich](https://github.com/ericfrederich).
- [#​589](https://github.com/pre-commit/pre-commit-hooks/issues/589) issue by [@​ericfrederich](https://github.com/ericfrederich).
- [#​1049](https://github.com/pre-commit/pre-commit-hooks/issues/1049) PR by [@​Jeffrey-Lim](https://github.com/Jeffrey-Lim).
- `pretty-format-json`: continue processing even if a file has a json error.
- [#​1039](https://github.com/pre-commit/pre-commit-hooks/issues/1039) PR by [@​amarvin](https://github.com/amarvin).
- [#​1038](https://github.com/pre-commit/pre-commit-hooks/issues/1038) issue by [@​amarvin](https://github.com/amarvin).
##### Fixes
- `destroyed-symlinks`: set `stages` to `[pre-commit, pre-push, manual]`
- PR [#​1085](https://github.com/pre-commit/pre-commit-hooks/issues/1085) by [@​AdrianDC](https://github.com/AdrianDC).
##### Migrating
- pre-commit-hooks now requires `pre-commit>=3.2.0`.
- use non-deprecated names for `stages`.
- [#​1093](https://github.com/pre-commit/pre-commit-hooks/issues/1093) PR by [@​asottile](https://github.com/asottile).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42Ni4xMiIsInVwZGF0ZWRJblZlciI6IjQyLjY2LjEyIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5IPCfk6bvuI8iXX0=-->