Pre-commit

Latest version: v4.2.0

Safety actively analyzes 721794 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 24 of 34

0.12.1

Not secure
===================
- golang hooks now support additional_dependencies
- Added a --tags-only option to pre-commit autoupdate

0.12.0

Not secure
===================
- The new default file for implementing hooks in remote repositories is now
.pre-commit-hooks.yaml to encourage repositories to add the metadata. As
such, the previous hooks.yaml is now deprecated and generates a warning.
- Fix bug with local configuration interfering with ruby hooks
- Added support for hooks written in golang.

0.11.0

Not secure
===================
- SwiftPM support.

0.10.1

Not secure
===================
- shlex entry of docker based hooks.
- Make shlex behaviour of entry more consistent.

0.10.0

Not secure
===================
- Add an `install-hooks` command similar to `install --install-hooks` but
without the `install` side-effects.
- Adds support for docker based hooks.

0.9.4

Not secure
==================
- Warn when cygwin / python mismatch
- Add --config for customizing configuration during run
- Update rbenv + plugins to latest versions
- pcre hooks now fail when grep / ggrep are not present

Page 24 of 34

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.