Skip to content

pre-commit-hooks v1.3.0

Compare
Choose a tag to compare
@asottile asottile released this 28 May 17:39
· 658 commits to main since this release

Features

  • Add an --unsafe argument to check-yaml to allow custom yaml tags
  • Automatically remove pkg-resources==0.0.0 in requirements-txt-fixer
  • Detect breakpoint() (python3.7+) in debug-statements hook.
  • Detect sshcom and putty hooks in detect-private-key

Fixes

  • Open files as UTF-8 (autopep8-wrapper, check-docstring-first, double-quote-string-fixer)
  • Fix AttributeError in check-builtin-literals for some functions