Before-commit

Latest version: v2.17.0.post2

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

Scan your dependencies

Page 23 of 28

0.6.3

==================
- Remove `expected_return_code`
- Fail a hook if it makes modifications to the working directory

0.6.2

==================
- Use --no-ri --no-rdoc instead of --no-document for gem to fix old gem

0.6.1

==================
- Fix pre-push when pushing something that's already up to date

0.6.0

==================
- Filter hooks by stage (commit, push).

0.5.5

==================
- Change permissions a few files
- Rename the validate entrypoints
- Add --version to some entrypoints
- Add --no-document to gem installations
- Use expanduser when finding the python binary
- Suppress complaint about $TERM when no tty is attached
- Support pcre hooks on osx through ggrep

0.5.4

==================
- Allow hooks to produce outputs with arbitrary bytes
- Fix pre-commit install when .git/hooks/pre-commit is a dead symlink
- Allow an unstaged config when using --files or --all-files

Page 23 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.