v2.4.0
版本发布时间: 2019-10-29 06:25:27
pre-commit/pre-commit-hooks最新发布版本:v4.6.0(2024-04-07 02:28:01)
Features
- Add diff output to
pretty-format-json
when run without--autofix
.- #408 PR by @joepin.
- Add
--chars
option totrailing-whitespace
fixer to control which characters are stripped instead of all whitespace.- #421 PR by @iconmaster5326.
Fixes
- Fix
requirements-txt-fixer
when file does not end in a newline.- #414 issue by @barakreif.
- #415 PR by @barakreif.
- Fix double printing of filename in
pretty-format-json
.- #419 PR by @asottile.