Overview of prek
masterprek is a high-performance, Rust-based reimagining of the pre-commit framework. It is designed as a faster, dependency-free, and drop-in alternative that manages language toolchains and dependencies for running hooks.
Key features include:
- A single binary with no external runtime dependencies (no Python required).
- Full compatibility with original
pre-commitconfigurations and hooks. - Built-in support for monorepos via workspace mode.
- Integration with
uvfor Python environment management. - Improved toolchain installations for Python, Node.js, Bun, Go, Rust, and Ruby.
- Built-in Rust-native implementations of common hooks.