Skip to content

task: Move from pre-commit to perkΒ #8225

@ryanmerolle

Description

@ryanmerolle

Component

Not Sure

Task Description

What

Move from pre-commit to prek.

Features

  • πŸš€ A single binary with no dependencies, does not require Python or any other runtime.
  • ⚑ Faster than pre-commit and more efficient in disk space usage.
  • πŸ”„ Fully compatible with the original pre-commit configurations and hooks.
  • πŸ—οΈ Built-in support for monorepos (i.e. workspace mode).
  • 🐍 Integration with uv for managing Python virtual environments and dependencies.
  • πŸ› οΈ Improved toolchain installations for Python, Node.js, Bun, Go, Rust and Ruby, shared between hooks.
  • πŸ“¦ Built-in Rust-native implementation of some common hooks.

Who is using prek?

prek is pretty new, but it is already being used or recommend by some projects and organizations:

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/taskBody of work related to an epic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions