Features
- Use the current running executable if it matches the requested
language_version
- Print the stage when a hook is not found
pre-commit autoupdate
now supports non-master
default branches- Add
pre-commit init-templatedir
which makes it easier to automatically enablepre-commit
in cloned repositories. - pre-commit's color can be controlled using
PRE_COMMIT_COLOR={auto,always,never}
- #1073 issue by @saper.
- #1092 PR by @geieredgar.
- #1098 PR by @geieredgar.
- pre-commit's color can now be disabled using
TERM=dumb
- pre-commit now supports
docker
based hooks on windows- #1072 by @cz-fish.
- #1093 PR by @geieredgar.
Fixes
- Fix shallow clone
- Fix autoupdate version flip flop when using shallow cloning
- Fix autoupdate when the current revision is invalid
Misc.
- Replace development instructions with
tox --devenv ...
- #1032 issue by @yoavcaspi.
- #1067 PR by @asottile.