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 17 of 28

0.14.2

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

0.14.1

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

0.14.0

===================
- 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

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

0.13.5

===================
- 0.13.4 contained incorrect files

0.13.4

===================
- Add `--show-diff-on-failure` option to `pre-commit run`
- Replace `jsonschema` with better error messages

Page 17 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.