pypi pre-commit 1.19.0
pre-commit v1.19.0

latest releases: 4.0.1, 4.0.0, 3.8.0...
5 years ago

Features

  • Allow --hook-type to be specified multiple times.
  • Include more version information in crash logs.
  • Hook colors are now passed through on platforms which support pty.
  • pre-commit now uses importlib.metadata directly when running in python 3.8
  • Normalize paths to forward slash separators on windows.
    • makes it easier to match paths with files: regex
    • avoids some quoting bugs in shell-based hooks
    • #1173 issue by @steigenTI.
    • #1179 PR by @asottile.

Fixes

  • Remove some extra newlines from error messages.
  • When a hook is not executable it now reports not executable instead of not found.
  • Fix interleaving of stdout / stderr in hooks.
  • Fix python environment healthy() check when current working directory contains modules which shadow standard library names.

Updating

  • Regexes handling both backslashes and forward slashes for directory separators now only need to handle forward slashes.

Don't miss a new pre-commit release

NewReleases is sending notifications on new releases.