Pre-commit

Latest version: v3.7.1

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

Scan your dependencies

Page 14 of 33

1.11.1

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

Fixes
- Fix `.git` dir detection in `git<2.5` (regression introduced in
[1.10.5](1105))
- 831 issue by mmacpherson.
- 832 PR by asottile.

1.11.0

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

Features
- Add new `fail` language which always fails
- light-weight way to forbid files by name.
- 812 821 PRs by asottile.

Fixes
- Fix `ResourceWarning`s for unclosed files
- 811 PR by BoboTiG.
- Don't write ANSI colors on windows when color enabling fails
- 819 PR by jeffreyrack.

1.10.5

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

Fixes
- Work around `PATH` issue with `brew` `python` on `macos`
- Homebrew/homebrew-core30445 issue by asottile.
- 805 PR by asottile.
- Support `pre-commit install` inside a worktree
- 808 issue by s0undt3ch.
- 809 PR by asottile.

1.10.4

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

Fixes
- Replace `yaml.load` with safe alternative
- `yaml.load` can lead to arbitrary code execution, though not where it
was used
- issue by tonybaloney.
- 779 PR by asottile.
- Improve not found error with script paths (`./exe`)
- 782 issue by ssbarnea.
- 785 PR by asottile.
- Fix minor buffering issue during `--show-diff-on-failure`
- 796 PR by asottile.
- Default `language_version: python3` for `python_venv` when running in python2
- 794 issue by ssbarnea.
- 797 PR by asottile.
- `pre-commit run X` only run `X` and not hooks with `stages: [...]`
- 772 issue by asottile.
- 803 PR by mblayman.

Misc.
- Improve travis-ci build times by caching rust / swift artifacts
- 781 PR by expobrain.
- Test against python3.7
- 789 PR by expobrain.

1.10.3

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

Fixes
- Fix `pre-push` during a force push without a fetch
- 777 issue by domenkozar.
- 778 PR by asottile.

1.10.2

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

Fixes
- pre-commit now invokes hooks with a consistent ordering of filenames
- issue by mxr.
- 767 PR by asottile.

Page 14 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.