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

0.15.4

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

0.15.3

===================
- Recover from invalid python virtualenvs

0.15.2

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

0.15.1

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

0.15.0

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

0.14.3

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

Page 16 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.