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

2.8.2

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

Fixes
- Fix installation of ruby hooks with `language_version: default`
- 1671 issue by aerickson.
- 1672 PR by asottile.

2.8.1

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

Fixes
- Allow default `language_version` of `system` when the homedir is `/`
- 1669 PR by asottile.

2.8.0

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

Features
- Update `rbenv` / `ruby-build`
- 1612 issue by tdeo.
- 1614 PR by asottile.
- Update `sample-config` versions
- 1611 PR by mcsitter.
- Add new language: `dotnet`
- 1598 by rkm.
- Add `--negate` option to `language: pygrep` hooks
- 1643 PR by MarcoGorelli.
- Add zipapp support
- 1616 PR by asottile.
- Run pre-commit through https://pre-commit.ci
- 1662 PR by asottile.
- Add new language: `coursier` (a jvm-based package manager)
- 1633 PR by JosephMoniz.
- Exit with distinct codes: 1 (user error), 3 (unexpected error), 130 (^C)
- 1601 PR by int3l.

Fixes
- Improve `healthy()` check for `language: node` + `language_version: system`
hooks when the system executable goes missing.
- pre-commit/action45 issue by KOliver94.
- 1589 issue by asottile.
- 1590 PR by asottile.
- Fix excess whitespace in error log traceback
- 1592 PR by asottile.
- Fix posixlike shebang invocations with shim executables of the git hook
script on windows.
- 1593 issue by Celeborn2BeAlive.
- 1595 PR by Celeborn2BeAlive.
- Remove hard-coded `C:\PythonXX\python.exe` path on windows as it caused
confusion (and `virtualenv` can sometimes do better)
- 1599 PR by asottile.
- Fix `language: ruby` hooks when `--format-executable` is present in a gemrc
- issue by `Rainbow Tux` (discord).
- 1603 PR by asottile.
- Move `cygwin` / `win32` mismatch error earlier to catch msys2 mismatches
- 1605 issue by danyeaw.
- 1606 PR by asottile.
- Remove `-p` workaround for old `virtualenv`
- 1617 PR by asottile.
- Fix `language: node` installations to not symlink outside of the environment
- pre-commit-ci/issues2 issue by DanielJSottile.
- 1667 PR by asottile.
- Don't identify shim executables as valid `system` for defaulting
`language_version` for `language: node` / `language: ruby`
- 1658 issue by adithyabsk.
- 1668 PR by asottile.

2.7.1

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

Fixes
- Improve performance of docker hooks by removing slow `ps` call
- 1572 PR by rkm.
- 1569 issue by asottile.
- Fix un-`healthy()` invalidation followed by install being reported as
un-`healthy()`.
- 1576 PR by asottile.
- 1575 issue by jab.
- Fix rare file race condition on windows with `os.replace()`
- 1577 PR by asottile.

2.7.0

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

Features
- Produce error message if an environment is immediately unhealthy
- 1535 PR by asottile.
- Add --no-allow-missing-config option to init-templatedir
- 1539 PR by singergr.
- Add warning for old list-style configuration
- 1544 PR by asottile.
- Allow pre-commit to succeed on a readonly store.
- 1570 PR by asottile.
- 1536 issue by asottile.

Fixes
- Fix error messaging when the store directory is readonly
- 1546 PR by asottile.
- 1536 issue by asottile.
- Improve `diff` performance with many hooks
- 1566 PR by jhenkens.
- 1564 issue by jhenkens.

2.6.0

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

Fixes
- Fix node hooks when `NPM_CONFIG_USERCONFIG` is set
- 1521 PR by asottile.
- 1516 issue by rkm.

Features
- Skip `rbenv` / `ruby-download` if system ruby is available
- 1509 PR by asottile.
- Partial support for ruby on windows (if system ruby is installed)
- 1509 PR by asottile.
- 201 issue by asottile.

Page 8 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.