Skip to content

build: evaluate migrating from pre-commit to prek #20

Description

@hasansezertasan

Context

prek is a faster, Rust-based, drop-in reimplementation of pre-commit — no Python bootstrap, single binary, reuses the existing .pre-commit-config.yaml.

This is a proposal / discussion issue, not a commitment.

Why consider it

  • Faster hook runs & install, no separate Python env for the runner
  • Aligns with the uv / Rust-tooling direction (build: migrate from PDM to uv #18)
  • Config-compatible, so migration risk is low

Risks / open questions

  • Maturity vs. pre-commit; ecosystem familiarity for external contributors
  • CI action availability & caching story
  • Does every current hook resolve under prek?

Proposed tasks

  • Trial prek run --all-files against the current config
  • Compare local + CI runtime
  • Decide: adopt / defer / reject (document rationale here)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraThis is Infrastructure relatedquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions