Update precommit hook pre-commit/pre-commit-hooks to v4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
pre-commit/pre-commit-hooks | repository | major |
v3.4.0 -> v4.0.1
|
Release Notes
pre-commit/pre-commit-hooks
v4.0.1
Fixes
-
check-shebang-scripts-are-executable
fix entry point.- #602 issue by @Person-93.
- #603 MR by @scop.
v4.0.0
Features
-
check-json
: report duplicate keys.- #558 MR by @AdityaKhursale.
- #554 issue by @adamchainz.
-
no-commit-to-branch
: addmain
to default blocked branches.- #565 MR by @ndevenish.
-
check-case-conflict
: check conflicts in directory names as well.- #575 MR by @slsyy.
- #70 issue by @andyjack.
-
check-vcs-permalinks
: forbid other branch names.- #582 MR by @jack1142.
- #581 issue by @jack1142.
-
check-shebang-scripts-are-executable
: new hook which ensures shebang'd scripts are executable.
Fixes
-
check-executables-have-shebangs
: Short circuit shebang lookup on windows. -
requirements-txt-fixer
: Fix comments which have indentation- #549 MR by @greshilov.
- #548 issue by @greshilov.
-
pretty-format-json
: write to stdout using UTF-8 encoding.- #571 MR by @jack1142.
- #570 issue by @jack1142.
- Use more inclusive language.
- #599 MR by @asottile.
Breaking changes
- Remove deprecated hooks:
flake8
,pyflakes
,autopep8-wrapper
.- #597 MR by @asottile.
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by jonas