An open API service providing repository metadata for many open source software ecosystems.

A framework for managing and maintaining multi-language pre-commit hooks.

Releases
pre-commit v4.6.0

v4.6.0

Features

  • pre-commit hook-impl: allow --hook-dir to be missing to enable easier usage with git 2.54+ git hooks.
    • #3662 PR by @asottile.

Fixes

  • pre-commit hook-impl: --hook-type is required.
    • #3661 PR by @asottile.
21 days ago
Download
pre-commit v4.5.1

v4.5.1

Fixes

  • Fix language: python with repo: local without additional_dependencies.
    • #3597 PR by @asottile.
5 months ago
Download
pre-commit v4.5.0

v4.5.0

Features

  • Add pre-commit hazmat.
    • #3585 PR by @asottile.
6 months ago
Download
pre-commit v4.4.0

v4.4.0

Features

  • Add --fail-fast option to pre-commit run.
    • #3528 PR by @JulianMaurin.
  • Upgrade ruby-build / rbenv.
    • #3566 PR by @asottile.
    • #3565 issue by @MRigal.
  • Add language: unsupported / language: unsupported_script as aliases for language: 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 stages in .pre-commit-config.yaml.
    • #3576 PR by @asottile.
6 months ago
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: avoid startup.jl when executing hooks.
    • #3496 PR by @ericphanson.
  • language: dart: support latest dart versions which require a higher sdk
    lower bound.
    • #3507 PR by @bc-lee.
9 months ago
Download
pre-commit v4.2.0

v4.2.0

Features

  • For language: python first attempt a versioned python executable for the default language version before consulting a potentially unversioned sys.executable.
    • #3430 PR by @asottile.

Fixes

  • Handle error during conflict detection when a file is named “HEAD”
    • #3425 PR by @tusharsadhwani.
about 1 year ago
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: r installation when initiated by RStudio.
    • #3389 PR by @lorenzwalthert.
    • #3385 issue by @lorenzwalthert.
over 1 year ago
Download
pre-commit v4.0.1

v4.0.1

Fixes

  • Fix pre-commit migrate-config for unquoted deprecated stages names with
    purelib pyyaml.
    • #3324 PR by @asottile.
    • pre-commit-ci/issues#234 issue by @lorenzwalthert.
over 1 year ago
Download
pre-commit v4.0.0

v4.0.0

Features

  • Improve pre-commit migrate-config to handle more yaml formats.
    • #3301 PR by @asottile.
  • Handle stages deprecation in pre-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_venv has been removed – use language: python instead.
    • #3320 PR by @asottile.
    • #2734 issue by @asottile.
over 1 year ago
Download
pre-commit v3.8.0

v3.8.0

Features

  • Implement health checks for language: r so environments are recreated if the system version of R changes.
    • #3206 issue by @lorenzwalthert.
    • #3265 PR by @lorenzwalthert.
almost 2 years ago
Download
Links
Repository Details
  • 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
Commit Stats