Before-commit

Latest version: v2.17.0.post2

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

Scan your dependencies

Page 15 of 28

0.18.0

===================
- Add a new `docker_image` language type. `docker_image` is intended to be a
lightweight hook type similar to `system` / `script` which allows one to use
an existing docker image that provides a hook. `docker_image` hooks can
also be used as repository `local` hooks.

0.17.0

===================
- Fix typos in help
- Allow `commit-msg` hook to be uninstalled
- Upgrade the `sample-config`
- Remove undocumented `--no-stash` and `--allow-unstaged-config`
- Remove `validate_config` hook pre-commit hook.
- Fix installation race condition when multiple `pre-commit` processes would
attempt to install the same repository.

0.16.3

===================
- autoupdate attempts to maintain config formatting.

0.16.2

===================
- Initialize submodules in hook repositories.

0.16.1

===================
- Improve node support when running under cygwin.

0.16.0

===================
- Remove backward compatibility with repositories providing metadata via
`hooks.yaml`. New repositories should provide `.pre-commit-hooks.yaml`.
Run `pre-commit autoupdate` to upgrade to the latest repositories.
- Improve golang support when running under cygwin.
- Fix crash with unstaged trailing whitespace additions while git was
configured with `apply.whitespace = error`.
- Fix crash with unstaged end-of-file crlf additions and the file's lines
ended with crlf while git was configured with `core-autocrlf = true`.

Page 15 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.