[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
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`](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==...`.
- [#850](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/850) PR by [@ericfrederich](https://redirect.github.com/ericfrederich).
- [#1030](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1030) issue by [@ericfrederich](https://redirect.github.com/ericfrederich).
- `check-illegal-windows-names`: new hook!
- [#1044](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1044) PR by [@ericfrederich](https://redirect.github.com/ericfrederich).
- [#589](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/589) issue by [@ericfrederich](https://redirect.github.com/ericfrederich).
- [#1049](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1049) PR by [@Jeffrey-Lim](https://redirect.github.com/Jeffrey-Lim).
- `pretty-format-json`: continue processing even if a file has a json error.
- [#1039](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1039) PR by [@amarvin](https://redirect.github.com/amarvin).
- [#1038](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1038) issue by [@amarvin](https://redirect.github.com/amarvin).
##### Fixes
- `destroyed-symlinks`: set `stages` to `[pre-commit, pre-push, manual]`
- PR [#1085](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1085) by [@AdrianDC](https://redirect.github.com/AdrianDC).
##### Migrating
- pre-commit-hooks now requires `pre-commit>=3.2.0`.
- use non-deprecated names for `stages`.
- [#1093](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1093) PR by [@asottile](https://redirect.github.com/asottile).
### [`v4.6.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.6.0): pre-commit-hooks v4.6.0
[Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)
##### Features
- `requirements-txt-fixer`: remove duplicate packages.
- [#1014](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1014) PR by [@vhoulbreque-withings](https://redirect.github.com/vhoulbreque-withings).
- [#960](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/960) issue [@csibe17](https://redirect.github.com/csibe17).
##### Migrating
- `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0. use
[pyupgrade](https://redirect.github.com/asottile/pyupgrade) or some other tool.
- [#1033](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1033) PR by [@mxr](https://redirect.github.com/mxr).
- [#1032](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@mxr](https://redirect.github.com/mxr).
### [`v4.5.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
[Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
### [`v4.4.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.4.0): pre-commit-hooks v4.4.0
[Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
#### Features
- forbid-submodules: new hook which outright bans submodules.
- [#815](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/815) PR by [@asottile](https://redirect.github.com/asottile).
- [#707](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/707) issue by [@ChiefGokhlayeh](https://redirect.github.com/ChiefGokhlayeh).
### [`v4.3.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.3.0): pre-commit-hooks v4.3.0
[Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)
##### Features
- `check-executables-have-shebangs`: use `git config core.fileMode` to determine if it should query `git`.
- [#730](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/730) PR by [@Kurt-von-Laven](https://redirect.github.com/Kurt-von-Laven).
- `name-tests-test`: add `--pytest-test-first` test convention.
- [#779](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/779) PR by [@asottile](https://redirect.github.com/asottile).
##### Fixes
- `check-shebang-scripts-are-executable`: update windows instructions.
- [#774](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/774) PR by [@mdeweerd](https://redirect.github.com/mdeweerd).
- [#770](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/770) issue by [@mdeweerd](https://redirect.github.com/mdeweerd).
- `check-toml`: use stdlib `tomllib` when available.
- [#771](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/771) PR by [@DanielNoord](https://redirect.github.com/DanielNoord).
- [#755](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/755) issue by [@sognetic](https://redirect.github.com/sognetic).
- `check-added-large-files`: don't run on non-file `stages`.
- [#778](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/778) PR by [@asottile](https://redirect.github.com/asottile).
- [#777](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/777) issue by [@skyj](https://redirect.github.com/skyj).
### [`v4.2.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.2.0): pre-commit-hooks v4.2.0
[Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0)
##### Features
- `name-tests-test`: updated display text.
- [#713](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/713) PR by [@asottile](https://redirect.github.com/asottile).
- `check-docstring-first`: make output more parsable.
- [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile).
- `check-merge-conflict`: make output more parsable.
- [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile).
- `debug-statements`: make output more parsable.
- [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile).
##### Fixes
- `check-merge-conflict`: fix detection of `======` conflict marker on windows.
- [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile).
##### Updating
- Drop python<3.7.
- [#719](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/719) PR by [@asottile](https://redirect.github.com/asottile).
- Changed default branch from `master` to `main`.
- [#744](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/744) PR by [@asottile](https://redirect.github.com/asottile).
### [`v4.1.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.1.0): pre-commit-hooks v4.1.0
[Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)
##### Features
- `debug-statements`: add `pdbr` debugger.
- [#614](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/614) PR by [@cansarigol](https://redirect.github.com/cansarigol).
- `detect-private-key`: add detection for additional key types.
- [#658](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/658) PR by [@ljmf00](https://redirect.github.com/ljmf00).
- `check-executables-have-shebangs`: improve messaging on windows.
- [#689](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/689) PR by [@pujitm](https://redirect.github.com/pujitm).
- [#686](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/686) issue by [@jmerdich](https://redirect.github.com/jmerdich).
- `check-added-large-files`: support `--enforce-all` with `git-lfs`.
- [#674](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/674) PR by [@amartani](https://redirect.github.com/amartani).
- [#560](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/560) issue by [@jeremy-coulon](https://redirect.github.com/jeremy-coulon).
##### Fixes
- `check-case-conflict`: improve performance.
- [#626](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/626) PR by [@guykisel](https://redirect.github.com/guykisel).
- [#625](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/625) issue by [@guykisel](https://redirect.github.com/guykisel).
- `forbid-new-submodules`: fix false-negatives for `pre-push`.
- [#619](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/619) PR by [@m-khvoinitsky](https://redirect.github.com/m-khvoinitsky).
- [#609](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/609) issue by [@m-khvoinitsky](https://redirect.github.com/m-khvoinitsky).
- `check-merge-conflict`: fix execution in git worktrees.
- [#662](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/662) PR by [@errsyn](https://redirect.github.com/errsyn).
- [#638](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/638) issue by [@daschuer](https://redirect.github.com/daschuer).
##### Misc.
- Normalize case of hook names and descriptions.
- [#671](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/671) PR by [@dennisroche](https://redirect.github.com/dennisroche).
- [#673](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/673) PR by [@revolter](https://redirect.github.com/revolter).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v4.0.1
->v5.0.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-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`](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==...`. - [#850](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/850) PR by [@ericfrederich](https://redirect.github.com/ericfrederich). - [#1030](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1030) issue by [@ericfrederich](https://redirect.github.com/ericfrederich). - `check-illegal-windows-names`: new hook! - [#1044](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1044) PR by [@ericfrederich](https://redirect.github.com/ericfrederich). - [#589](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/589) issue by [@ericfrederich](https://redirect.github.com/ericfrederich). - [#1049](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1049) PR by [@Jeffrey-Lim](https://redirect.github.com/Jeffrey-Lim). - `pretty-format-json`: continue processing even if a file has a json error. - [#1039](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1039) PR by [@amarvin](https://redirect.github.com/amarvin). - [#1038](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1038) issue by [@amarvin](https://redirect.github.com/amarvin). ##### Fixes - `destroyed-symlinks`: set `stages` to `[pre-commit, pre-push, manual]` - PR [#1085](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1085) by [@AdrianDC](https://redirect.github.com/AdrianDC). ##### Migrating - pre-commit-hooks now requires `pre-commit>=3.2.0`. - use non-deprecated names for `stages`. - [#1093](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1093) PR by [@asottile](https://redirect.github.com/asottile). ### [`v4.6.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.6.0): pre-commit-hooks v4.6.0 [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) ##### Features - `requirements-txt-fixer`: remove duplicate packages. - [#1014](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1014) PR by [@vhoulbreque-withings](https://redirect.github.com/vhoulbreque-withings). - [#960](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/960) issue [@csibe17](https://redirect.github.com/csibe17). ##### Migrating - `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0. use [pyupgrade](https://redirect.github.com/asottile/pyupgrade) or some other tool. - [#1033](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1033) PR by [@mxr](https://redirect.github.com/mxr). - [#1032](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@mxr](https://redirect.github.com/mxr). ### [`v4.5.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) ### [`v4.4.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.4.0): pre-commit-hooks v4.4.0 [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0) #### Features - forbid-submodules: new hook which outright bans submodules. - [#815](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/815) PR by [@asottile](https://redirect.github.com/asottile). - [#707](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/707) issue by [@ChiefGokhlayeh](https://redirect.github.com/ChiefGokhlayeh). ### [`v4.3.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.3.0): pre-commit-hooks v4.3.0 [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0) ##### Features - `check-executables-have-shebangs`: use `git config core.fileMode` to determine if it should query `git`. - [#730](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/730) PR by [@Kurt-von-Laven](https://redirect.github.com/Kurt-von-Laven). - `name-tests-test`: add `--pytest-test-first` test convention. - [#779](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/779) PR by [@asottile](https://redirect.github.com/asottile). ##### Fixes - `check-shebang-scripts-are-executable`: update windows instructions. - [#774](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/774) PR by [@mdeweerd](https://redirect.github.com/mdeweerd). - [#770](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/770) issue by [@mdeweerd](https://redirect.github.com/mdeweerd). - `check-toml`: use stdlib `tomllib` when available. - [#771](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/771) PR by [@DanielNoord](https://redirect.github.com/DanielNoord). - [#755](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/755) issue by [@sognetic](https://redirect.github.com/sognetic). - `check-added-large-files`: don't run on non-file `stages`. - [#778](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/778) PR by [@asottile](https://redirect.github.com/asottile). - [#777](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/777) issue by [@skyj](https://redirect.github.com/skyj). ### [`v4.2.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.2.0): pre-commit-hooks v4.2.0 [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0) ##### Features - `name-tests-test`: updated display text. - [#713](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/713) PR by [@asottile](https://redirect.github.com/asottile). - `check-docstring-first`: make output more parsable. - [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile). - `check-merge-conflict`: make output more parsable. - [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile). - `debug-statements`: make output more parsable. - [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile). ##### Fixes - `check-merge-conflict`: fix detection of `======` conflict marker on windows. - [#748](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/748) PR by [@asottile](https://redirect.github.com/asottile). ##### Updating - Drop python<3.7. - [#719](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/719) PR by [@asottile](https://redirect.github.com/asottile). - Changed default branch from `master` to `main`. - [#744](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/744) PR by [@asottile](https://redirect.github.com/asottile). ### [`v4.1.0`](https://redirect.github.com/pre-commit/pre-commit-hooks/releases/tag/v4.1.0): pre-commit-hooks v4.1.0 [Compare Source](https://redirect.github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0) ##### Features - `debug-statements`: add `pdbr` debugger. - [#614](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/614) PR by [@cansarigol](https://redirect.github.com/cansarigol). - `detect-private-key`: add detection for additional key types. - [#658](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/658) PR by [@ljmf00](https://redirect.github.com/ljmf00). - `check-executables-have-shebangs`: improve messaging on windows. - [#689](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/689) PR by [@pujitm](https://redirect.github.com/pujitm). - [#686](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/686) issue by [@jmerdich](https://redirect.github.com/jmerdich). - `check-added-large-files`: support `--enforce-all` with `git-lfs`. - [#674](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/674) PR by [@amartani](https://redirect.github.com/amartani). - [#560](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/560) issue by [@jeremy-coulon](https://redirect.github.com/jeremy-coulon). ##### Fixes - `check-case-conflict`: improve performance. - [#626](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/626) PR by [@guykisel](https://redirect.github.com/guykisel). - [#625](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/625) issue by [@guykisel](https://redirect.github.com/guykisel). - `forbid-new-submodules`: fix false-negatives for `pre-push`. - [#619](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/619) PR by [@m-khvoinitsky](https://redirect.github.com/m-khvoinitsky). - [#609](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/609) issue by [@m-khvoinitsky](https://redirect.github.com/m-khvoinitsky). - `check-merge-conflict`: fix execution in git worktrees. - [#662](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/662) PR by [@errsyn](https://redirect.github.com/errsyn). - [#638](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/638) issue by [@daschuer](https://redirect.github.com/daschuer). ##### Misc. - Normalize case of hook names and descriptions. - [#671](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/671) PR by [@dennisroche](https://redirect.github.com/dennisroche). - [#673](https://redirect.github.com/pre-commit/pre-commit-hooks/issues/673) PR by [@revolter](https://redirect.github.com/revolter).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 was generated by Mend Renovate. View the repository job log.