v4.5.0
版本发布时间: 2023-10-10 03:39:02
pre-commit/pre-commit-hooks最新发布版本:v4.6.0(2024-04-07 02:28:01)
Features
-
requirements-txt-fixer
: also sortconstraints.txt
by default.- #857 PR by @lev-blit.
- #830 issue by @PLPeeters.
-
debug-statements
: addbpdb
debugger.- #942 PR by @mwip.
- #941 issue by @mwip.
Fixes
-
file-contents-sorter
: fix sorting an empty file.- #944 PR by @RoelAdriaans.
- #935 issue by @paduszyk.
-
double-quote-string-fixer
: don't rewrite inside f-strings in 3.12+.- #973 PR by @asottile.
- #971 issue by @XuehaiPan.
Migrating
- now requires python >= 3.8.
- #926 PR by @asottile.
- #927 PR by @asottile.