Pre-commit-hooks

Latest version: v5.0.0

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

Scan your dependencies

Page 5 of 10

1.4.01

====================

(Note: this is a tag-only release as no code changes occurred)

Fixes
- Don't run `end-of-file-fixer` during `commit-msg` stage
- 315 issue by revolter.
- 317 PR by revolter.

1.4.0

==================

Features
- `no-commit-to-branch`: allow `--branch` to be specified multiple times
- 190 PR by moas.
- 294 PR by asottile.
- `check-merge-conflict`: add `--assume-in-merge` to force checks outside of a
merge commit situation
- 300 issue by vinayinvicible.
- 301 PR by vinayinvicible.

Fixes
- Don't match whitespace in VCS urls
- 293 PR by asottile.
- Fix invalid escape sequences
- 296 PR by asottile.
- Fix `ResourcesWarning`s
- 297 PR by asottile.

Misc
- Test against python3.7
- 304 PR by expobrain.

1.3.0

==================

Features
- Add an `--unsafe` argument to `check-yaml` to allow custom yaml tags
- 273 issue by blackillzone.
- 274 PR by asottile.
- Automatically remove `pkg-resources==0.0.0` in `requirements-txt-fixer`
- 275 PR by nvtkaszpir.
- Detect `breakpoint()` (python3.7+) in `debug-statements` hook.
- 283 PR by asottile.
- Detect sshcom and putty hooks in `detect-private-key`
- 287 PR by vin01.

Fixes
- Open files as UTF-8 (`autopep8-wrapper`, `check-docstring-first`,
`double-quote-string-fixer`)
- 279 PR by nvtkaszpir.
- Fix `AttributeError` in `check-builtin-literals` for some functions
- 285 issue by EgoWumpus.
- 286 PR by asottile.

1.2.11

====================

(Note: this is a tag-only release as no code changes occurred)

Fixes:
- Don't pass filenames for `no-commit-to-branch`
- 268 issue by dongyuzheng.
- 269 PR by asottile.

1.2.3

==================

Fixes
- `trailing-whitespace` entrypoint was incorrect.
- f6780b9 by asottile.

1.2.2

==================

Fixes
- `trailing-whitespace` no longer adds a missing newline at end-of-file
- 270 issue by fractos.
- 271 PR by asottile.

Page 5 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.