chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| pre-commit/pre-commit-hooks | repository | major |
v4.4.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 if you have any questions.
Release Notes
pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)
v5.0.0: pre-commit-hooks v5.0.0
Features
-
requirements-txt-fixer: also removepkg_resources==....- #850 MR by @ericfrederich.
- #1030 issue by @ericfrederich.
-
check-illegal-windows-names: new hook!- #1044 MR by @ericfrederich.
- #589 issue by @ericfrederich.
- #1049 MR by @Jeffrey-Lim.
-
pretty-format-json: continue processing even if a file has a json error.
Fixes
-
destroyed-symlinks: setstagesto[pre-commit, pre-push, manual]- MR #1085 by @AdrianDC.
Migrating
- pre-commit-hooks now requires
pre-commit>=3.2.0. - use non-deprecated names for
stages.- #1093 MR by @asottile.
v4.6.0: pre-commit-hooks v4.6.0
Features
-
requirements-txt-fixer: remove duplicate packages.- #1014 MR by @vhoulbreque-withings.
- #960 issue @csibe17.
Migrating
-
fix-encoding-pragma: deprecated -- will be removed in 5.0.0. use pyupgrade or some other tool.
v4.5.0: pre-commit-hooks v4.5.0
Features
-
requirements-txt-fixer: also sortconstraints.txtby default.- #857 MR by @lev-blit.
- #830 issue by @PLPeeters.
-
debug-statements: addbpdbdebugger.
Fixes
-
file-contents-sorter: fix sorting an empty file.- #944 MR by @RoelAdriaans.
- #935 issue by @paduszyk.
-
double-quote-string-fixer: don't rewrite inside f-strings in 3.12+.- #973 MR by @asottile.
- #971 issue by @XuehaiPan.
Migrating
- now requires python >= 3.8.
- #926 MR by @asottile.
- #927 MR by @asottile.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.