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

2.10.1

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

Fixes
- Fix `language: golang` repositories containing recursive submodules
- 1788 issue by gaurav517.
- 1789 PR by paulhfischer.

2.10.0

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

Features
- Allow `ci` as a top-level map for configuration for https://pre-commit.ci
- 1735 PR by asottile.
- Add warning for mutable `rev` in configuration
- 1715 PR by paulhfischer.
- 974 issue by asottile.
- Add warning for `/*` in top-level `files` / `exclude` regexes
- 1750 PR by paulhfischer.
- 1702 issue by asottile.
- Expose `PRE_COMMIT_REMOTE_BRANCH` environment variable during `pre-push`
hooks
- 1770 PR by surafelabebe.
- Produce error message for `language` / `language_version` for non-installable
languages
- 1771 PR by asottile.

Fixes
- Fix execution in worktrees in subdirectories of bare repositories
- 1778 PR by asottile.
- 1777 issue by s0undt3ch.

2.9.3

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

Fixes
- Fix crash on cygwin mismatch check outside of a git directory
- 1721 PR by asottile.
- 1720 issue by chronoB.
- Fix cleanup code on docker volumes for go
- 1725 PR by fsouza.
- Fix working directory detection on SUBST drives on windows
- 1727 PR by mrogaski.
- 1610 issue by jcameron73.

2.9.2

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

Fixes
- Fix default value for `types_or` so `symlink` and `directory` can be matched
- 1716 PR by asottile.
- 1718 issue by CodeBleu.

2.9.1

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

Fixes
- Improve error message for "hook goes missing"
- 1709 PR by paulhfischer.
- 1708 issue by theod07.
- Add warning for `/*` in `files` / `exclude` regexes
- 1707 PR by paulhfischer.
- 1702 issue by asottile.
- Fix `healthy()` check for `language: python` on windows when the base
executable has non-ascii characters.
- 1713 PR by asottile.
- 1711 issue by Najiva.

2.9.0

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

Features
- Add `types_or` which allows matching multiple disparate `types` in a hook
- 1677 by MarcoGorelli.
- 607 by asottile.
- Add Github Sponsors / Open Collective links
- https://github.com/sponsors/asottile
- https://opencollective.com/pre-commit

Fixes
- Improve cleanup for `language: dotnet`
- 1678 by rkm.
- Fix "xargs" when running windows batch files
- 1686 PR by asottile.
- 1604 issue by apietrzak.
- 1604 issue by ufwtlsb.
- Fix conflict with external `rbenv` and `language_version: default`
- 1700 PR by asottile.
- 1699 issue by abuxton.
- Improve performance of `git status` / `git diff` commands by ignoring
submodules
- 1704 PR by Vynce.
- 1701 issue by Vynce.

Page 7 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.