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

0.5.4

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

0.5.3

Not secure
==================
- Fix autoupdate with "local" hooks - don't purge local hooks.

0.5.2

Not secure
==================
- Fix autoupdate with "local" hooks

0.5.1

Not secure
==================
- Fix bug with unknown non-ascii hook-id
- Avoid crash when .git/hooks is not present in some git clients

0.5.0

Not secure
==================
- Add a new "local" hook type for running hooks without remote configuration.
- Complain loudly when .pre-commit-config.yaml is unstaged.
- Better support for multiple language versions when running hooks.
- Allow exclude to be defaulted in repository configuration.

0.4.4

Not secure
==================
- Use sys.executable when executing virtualenv

Page 29 of 34

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.