Features
- Run hooks in parallel
- individual hooks may opt out of parallel exection with
require_serial: true
- #510 issue by @chriskuehl.
- #851 PR by @chriskuehl.
- individual hooks may opt out of parallel exection with
Fixes
- Improve platform-specific
xargs
command length detection- #691 issue by @antonbabenko.
- #839 PR by @georgeyk.
- Fix
pre-commit autoupdate
when updating to a latest tag missing a.pre-commit-hooks.yaml
- Upgrade the
pre-commit-hooks
version inpre-commit sample-config
- Improve balancing of multiprocessing by deterministic shuffling of args
- #861 issue by @Dunedan.
- #874 PR by @chriskuehl.
ruby
hooks work with latestgem
by removing--no-ri
/--no-rdoc
and instead using--no-document
.
Misc
- Use
--no-gpg-sign
when running tests- #885 PR by @s0undt3ch.
Updating
- If a hook requires serial execution, set
require_serial: true
to avoid the new parallel execution. ruby
hooks now requiregem>=2.0.0
. If your platform doesn't support this by default, select a newer version usinglanguage_version
.