A framework for managing and maintaining multi-language pre-commit hooks.
pre-commit v4.6.0
v4.6.0
Features
pre-commit hook-impl: allow--hook-dirto be missing to enable easier usage withgit2.54+ git hooks.- #3662 PR by @asottile.
Fixes
pre-commit hook-impl:--hook-typeis required.- #3661 PR by @asottile.
Download
pre-commit v4.5.1
v4.5.1
Fixes
- Fix
language: pythonwithrepo: localwithoutadditional_dependencies.- #3597 PR by @asottile.
Download
Download
pre-commit v4.4.0
v4.4.0
Features
- Add
--fail-fastoption topre-commit run.- #3528 PR by @JulianMaurin.
- Upgrade
ruby-build/rbenv.- #3566 PR by @asottile.
- #3565 issue by @MRigal.
- Add
language: unsupported/language: unsupported_scriptas aliases forlanguage: system/language: script(which will eventually be deprecated).- #3577 PR by @asottile.
- Add support docker-in-docker detection for cgroups v2.
- #3535 PR by @br-rhrbacek.
- #3360 issue by @JasonAlt.
Fixes
- Handle when docker gives
SecurityOptions: null.- #3537 PR by @asottile.
- #3514 issue by @jenstroeger.
- Fix error context for invalid
stagesin.pre-commit-config.yaml.- #3576 PR by @asottile.
Download
pre-commit v4.3.0
v4.3.0
Features
language: docker/language: docker_image: detect rootless docker.- #3446 PR by @matthewhughes934.
- #1243 issue by @dkolepp.
language: julia: avoidstartup.jlwhen executing hooks.- #3496 PR by @ericphanson.
language: dart: support latest dart versions which require a higher sdk
lower bound.- #3507 PR by @bc-lee.
Download
pre-commit v4.2.0
v4.2.0
Features
- For
language: pythonfirst attempt a versioned python executable for the default language version before consulting a potentially unversionedsys.executable.- #3430 PR by @asottile.
Fixes
- Handle error during conflict detection when a file is named “HEAD”
- #3425 PR by @tusharsadhwani.
Download
pre-commit v4.1.0
v4.1.0
Features
- Add
language: julia.- #3348 PR by @fredrikekre.
- #2689 issue @jmuchovej.
Fixes
- Disable automatic toolchain switching for
language: golang.- #3304 PR by @AleksaC.
- #3300 issue by @AleksaC.
- #3149 issue by @nijel.
- Fix
language: rinstallation when initiated by RStudio.- #3389 PR by @lorenzwalthert.
- #3385 issue by @lorenzwalthert.
Download
pre-commit v4.0.1
v4.0.1
Fixes
- Fix
pre-commit migrate-configfor unquoted deprecated stages names with
purelibpyyaml.- #3324 PR by @asottile.
- pre-commit-ci/issues#234 issue by @lorenzwalthert.
Download
pre-commit v4.0.0
v4.0.0
Features
- Improve
pre-commit migrate-configto handle more yaml formats.- #3301 PR by @asottile.
- Handle
stagesdeprecation inpre-commit migrate-config.- #3302 PR by @asottile.
- #2732 issue by @asottile.
- Upgrade
ruby-build.- #3199 PR by @ThisGuyCodes.
- Add “sensible regex” warnings to
repo: meta.- #3311 PR by @asottile.
- Add warnings for deprecated
stages(commit->pre-commit,push->
pre-push,merge-commit->pre-merge-commit).- #3312 PR by @asottile.
- #3313 PR by @asottile.
- #3315 PR by @asottile.
- #2732 issue by @asottile.
Migrating
language: python_venvhas been removed – uselanguage: pythoninstead.- #3320 PR by @asottile.
- #2734 issue by @asottile.
Download
pre-commit v3.8.0
v3.8.0
Features
- Implement health checks for
language: rso environments are recreated if the system version of R changes.- #3206 issue by @lorenzwalthert.
- #3265 PR by @lorenzwalthert.
Download
- Source: https://github.com/pre-commit/pre-commit
- JSON API: repos.ecosyste.ms
-
PURL:
pkg:github/pre-commit/pre-commit
- Stars 15,238
- Forks 962
- Open issues 30
- License mit
- Language Python
- Size 4.41 MB
- Created at about 12 years ago
- Updated at 6 days ago
- Pushed at 14 days ago
- Last synced at 6 days ago
- Dependencies parsed at Pending
- Commits 1705
- Authors 164
- Mean commits per author 10.4
- DDS 0.311
- More commit stats