pre-commit-hooks v2.4.0
Features
- Add diff output to
pretty-format-jsonwhen run without--autofix. - Add
--charsoption totrailing-whitespacefixer to control which characters are stripped instead of all whitespace.- #421 PR by @iconmaster5326.
Fixes
- Fix
requirements-txt-fixerwhen file does not end in a newline.- #414 issue by @barakreif.
- #415 PR by @barakreif.
- Fix double printing of filename in
pretty-format-json.