Pre-commit-hooks

Latest version: v5.0.0

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

Scan your dependencies

Page 6 of 10

1.2.1

==================
Fixes:
- `detect-aws-credentials` false positive when key was empty
- 258 issue by PVSec.
- 260 PR by PVSec.
- `no-commit-to-branch` no longer crashes when not on a branch
- 265 issue by hectorv.
- 266 PR by asottile.

1.2.0

==================
Features:
- Add new `check-builtin-literals` hook.
- 249 251 PR by benwebber.
- `pretty-format-json` no longer depends on `simplejson`.
- 254 PR by cas--.
- `detect-private-key` now detects gcp keys.
- 255 issue by SaMnCo nicain.
- 256 PR by nicain.

1.1.1

==================
Fixes:
- Fix output interleaving in `check-vcs-permalinks` under python3.
- 245 PR by asottile.

1.1.0

==================
Features:
- `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow
linting of files using the
[multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML)
- pre-commit/pre-commit635 issue by geekobi.
- 244 PR by asottile.

1.0.0

==================
Features:
- New hook: `check-vcs-permalinks` for ensuring permalinked github urls.
- 241 PR by asottile.

Fixes:
- Fix `trailing-whitespace` for non-utf8 files on macos
- 242 PR by asottile.
- Fix `requirements-txt-fixer` for files ending in comments
- 243 PR by asottile.

0.9.5

==================
- Fix mixed-line-endings `--fix=...` when whole file is a different ending

Page 6 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.