Pre-commit

Latest version: v3.7.1

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

Scan your dependencies

Page 16 of 33

1.7.0

Not secure
==================

Features
- pre-commit config validation was split to a separate `cfgv` library
- 700 PR by asottile.
- Allow `--repo` to be specified multiple times to autoupdate
- 658 issue by KevinHock.
- 713 PR by asottile.
- Enable `rev` as a preferred alternative to `sha` in `.pre-commit-config.yaml`
- 106 issue by asottile.
- 715 PR by asottile.
- Use `--clean-src` option when invoking `nodeenv` to save ~70MB per node env
- 717 PR by asottile.
- Refuse to install with `core.hooksPath` set
- pre-commit/pre-commit-hooks250 issue by revolter.
- 663 issue by asottile.
- 718 PR by asottile.

Fixes
- hooks with `additional_dependencies` now get isolated environments
- 590 issue by coldnight.
- 711 PR by asottile.

Misc.
- test against swift 4.x
- 709 by theresama.

Updating

- Run `pre-commit migrate-config` to convert `sha` to `rev` in the
`.pre-commit-config.yaml` file.

1.6.0

Not secure
==================

Features
- Hooks now may have a `verbose` option to produce output even without failure
- 689 issue by bagerard.
- 695 PR by bagerard.
- Installed hook no longer requires `bash`
- 699 PR by asottile.

Fixes
- legacy pre-push / commit-msg hooks are now invoked as if `git` called them
- 693 issue by samskiter.
- 694 PR by asottile.
- 699 PR by asottile.

1.5.1

Not secure
==================

Fixes
- proper detection for root commit during pre-push
- 503 PR by philipgian.
- 692 PR by samskiter.

1.5.0

Not secure
==================

Features
- pre-commit now supports node hooks on windows.
- for now, requires python3 due to https://bugs.python.org/issue32539
- huge thanks to wenzowski for the tip!
- 200 issue by asottile.
- 685 PR by asottile.

Misc.
- internal reorganization of `PrefixedCommandRunner` -> `Prefix`
- 684 PR by asottile.
- https-ify links.
- pre-commit.com is now served over https.
- 688 PR by asottile.

1.4.5

Not secure
==================

Fixes
- Fix `local` golang repositories with `additional_dependencies`.
- 679 680 issue and PR by asottile.

Misc.
- Replace some string literals with constants
- 678 PR by revolter.

1.4.4

Not secure
==================

Fixes
- Invoke `git diff` without a pager during `--show-diff-on-failure`.
- 676 PR by asottile.

Page 16 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.