Pre-commit

Latest version: v4.0.1

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

Scan your dependencies

Page 2 of 33

3.6.1

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

Fixes
- Remove `PYTHONEXECUTABLE` from environment when running.
- 3110 PR by untitaker.
- Handle staged-files-only with only a crlf diff.
- 3126 PR by asottile.
- issue by tyyrok.

3.6.0

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

Features
- Check `minimum_pre_commit_version` first when parsing configs.
- 3092 PR by asottile.

Fixes
- Fix deprecation warnings for `importlib.resources`.
- 3043 PR by asottile.
- Fix deprecation warnings for rmtree.
- 3079 PR by edgarrmondragon.

Updating
- Drop support for python<3.9.
- 3042 PR by asottile.
- 3093 PR by asottile.

3.5.0

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

Features
- Improve performance of `check-hooks-apply` and `check-useless-excludes`.
- 2998 PR by mxr.
- 2935 issue by mxr.

Fixes
- Use `time.monotonic()` for more accurate hook timing.
- 3024 PR by adamchainz.

Migrating
- Require npm 6.x+ for `language: node` hooks.
- 2996 PR by RoelAdriaans.
- 1983 issue by henryiii.

3.4.0

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

Features
- Add `language: haskell`.
- 2932 by alunduil.
- Improve cpu count detection when run under cgroups.
- 2979 PR by jdb8.
- 2978 issue by jdb8.

Fixes
- Handle negative exit codes from hooks receiving posix signals.
- 2971 PR by chriskuehl.
- 2970 issue by chriskuehl.

3.3.3

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

Fixes
- Work around OS packagers setting `--install-dir` / `--bin-dir` in gem settings.
- 2905 PR by jaysoffian.
- 2799 issue by lmilbaum.

3.3.2

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

Fixes
- Work around `r` on windows sometimes double-un-quoting arguments.
- 2885 PR by lorenzwalthert.
- 2870 issue by lorenzwalthert.

Page 2 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.