Features
- Update
rbenv
/ruby-build
- Update
sample-config
versions - Add new language:
dotnet
- Add
--negate
option tolanguage: pygrep
hooks- #1643 PR by @MarcoGorelli.
- Add zipapp support
- Run pre-commit through https://pre-commit.ci
- 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)
Fixes
- Improve
healthy()
check forlanguage: node
+language_version: system
hooks when the system executable goes missing.- pre-commit/action#45 issue by @KOliver94.
- #1589 issue by @asottile.
- #1590 PR by @asottile.
- Fix excess whitespace in error log traceback
- 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 (andvirtualenv
can sometimes do better) - Fix
language: ruby
hooks when--format-executable
is present in a gemrc - Move
cygwin
/win32
mismatch error earlier to catch msys2 mismatches - Remove
-p
workaround for oldvirtualenv
- Fix
language: node
installations to not symlink outside of the environment- pre-commit-ci/issues#2 issue by @DanielJSottile.
- #1667 PR by @asottile.
- Don't identify shim executables as valid
system
for defaulting
language_version
forlanguage: node
/language: ruby
- #1658 issue by @adithyabsk.
- #1668 PR by @asottile.