pre-commit-hooks v2.4.0
Features
- Add diff output to
pretty-format-json
when run without--autofix
. - 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
.