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

0.14.3

Not secure
===================
- Expose `--origin` and `--source` as `PRE_COMMIT_ORIGIN` and
`PRE_COMMIT_SOURCE` environment variables when running as `pre-push`.

0.14.2

Not secure
===================
- Use `--no-ext-diff` when running `git diff`

0.14.1

Not secure
===================
- Don't crash when `always_run` is `True` and `files` is not provided.
- Set `VIRTUALENV_NO_DOWNLOAD` when making python virtualenvs.

0.14.0

Not secure
===================
- Add a `pre-commit sample-config` command
- Enable ansi color escapes on modern windows
- `autoupdate` now defaults to `--tags-only`, use `--bleeding-edge` for the
old behavior
- Add support for `log_file` in hook configuration to tee hook output to a
file for CI consumption, etc.
- Fix crash with unicode commit messages during merges in python 2.
- Add a `pass_filenames` option to allow disabling automatic filename
positional arguments to hooks.

0.13.6

Not secure
===================
- Fix regression in 0.13.5: allow `always_run` and `files` together despite
doing nothing.

0.13.5

Not secure
===================
- 0.13.4 contained incorrect files

Page 22 of 34

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.