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 21 of 34

0.16.0

Not secure
===================
- 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`.

0.15.4

Not secure
===================
- Add support for the `commit-msg` git hook

0.15.3

Not secure
===================
- Recover from invalid python virtualenvs

0.15.2

Not secure
===================
- Work around a windows-specific virtualenv bug pypa/virtualenv1062
This failure mode was introduced in 0.15.1

0.15.1

Not secure
===================
- Use a more intelligent default language version for python

0.15.0

Not secure
===================
- Add `types` and `exclude_types` for filtering files. These options take
an array of "tags" identified for each file. The tags are sourced from
[identify](https://github.com/chriskuehl/identify). One can list the tags
for a file by running `identify-cli filename`.
- `files` is now optional (defaulting to `''`)
- `always_run` + missing `files` also defaults to `files: ''` (previously it
defaulted to `'^$'` (this reverses e150921c).

Page 21 of 34

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.