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 6 of 33

2.16.0

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

Features
- add warning for regexes containing `[\/]` or `[/\\]`.
- 2053 PR by radek-sprta.
- 2043 issue by asottile.
- move hook template back to `bash` resolving shebang-portability issues.
- 2065 PR by asottile.
- add support for `fail_fast` at the individual hook level.
- 2097 PR by colens3.
- 1143 issue by potiuk.
- allow passthrough of `GIT_CONFIG_KEY_*`, `GIT_CONFIG_VALUE_*`, and
`GIT_CONFIG_COUNT`.
- 2136 PR by emzeat.

Fixes
- fix pre-commit autoupdate for `core.useBuiltinFSMonitor=true` on windows.
- 2047 PR by asottile.
- 2046 issue by lcnittl.
- fix temporary file stashing with for `submodule.recurse=1`.
- 2071 PR by asottile.
- 2063 issue by a666.
- ban broken importlib-resources versions.
- 2098 PR by asottile.
- replace `exit(...)` with `raise SystemExit(...)` for portability.
- 2103 PR by asottile.
- 2104 PR by asottile.

2.15.0

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

Features
- add support for hooks written in `dart`.
- 2027 PR by asottile.
- add support for `post-rewrite` hooks.
- 2036 PR by uSpike.
- 2035 issue by uSpike.

Fixes
- fix `check-useless-excludes` with exclude matching broken symlink.
- 2029 PR by asottile.
- 2019 issue by pkoch.
- eliminate duplicate mutable sha warning messages for `pre-commit autoupdate`.
- 2030 PR by asottile.
- 2010 issue by graingert.

2.14.1

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

Fixes
- fix force-push of disparate histories using git>=2.28.
- 2005 PR by asottile.
- 2002 issue by bogusfocused.
- fix `check-useless-excludes` and `check-hooks-apply` matching non-root
`.pre-commit-config.yaml`.
- 2026 PR by asottile.
- pre-commit-ci/issues84 issue by billsioros.

2.14.0

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

Features
- During `pre-push` hooks, expose local branch as `PRE_COMMIT_LOCAL_BRANCH`.
- 1947 PR by FlorentClarret.
- 1410 issue by MaicoTimmerman.
- Improve container id detection for docker-beside-docker with custom hostname.
- 1919 PR by adarnimrod.
- 1918 issue by adarnimrod.

Fixes
- Read legacy hooks in an encoding-agnostic way.
- 1943 PR by asottile.
- 1942 issue by sbienkow-ninja.
- Fix execution of docker hooks for docker-in-docker.
- 1997 PR by asottile.
- 1978 issue by robin-moss.

2.13.0

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

Features
- Setting `SKIP=...` skips installation as well.
- 1875 PR by asottile.
- pre-commit-ci/issues53 issue by TylerYep.
- Attempt to mount from host with docker-in-docker.
- 1888 PR by okainov.
- 1387 issue by okainov.
- Enable `repo: local` for `r` hooks.
- 1878 PR by lorenzwalthert.
- Upgrade `ruby-build` and `rbenv`.
- 1913 PR by jalessio.

Fixes
- Better detect `r` packages.
- 1898 PR by lorenzwalthert.
- Avoid warnings with mismatched `renv` versions.
- 1841 PR by lorenzwalthert.
- Reproducibly produce ruby tar resources.
- 1915 PR by asottile.

2.12.1

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

Fixes
- Fix race condition when stashing files in multiple parallel invocations
- 1881 PR by adamchainz.
- 1880 issue by adamchainz.

Page 6 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.