Better pre-commit, re-engineered in Rust
*prek* is a reimagined version of pre-commit, built in Rust.
It is designed to be a faster, dependency-free and drop-in alternative for it,
while also providing some additional long-requested features.
## Features
- A single binary with no dependencies, does not require Python or any other runtime.
- [Faster](https://prek.j178.dev/benchmark/) than `pre-commit` and uses only half the disk space.
- Fully compatible with the original pre-commit configurations and hooks.
- Built-in support for monorepos (i.e. [workspace mode](https://prek.j178.dev/workspace/)).
- Integration with [`uv`](https://github.com/astral-sh/uv) for managing Python virtual environments and dependencies.
- Improved toolchain installations for Python, Node.js, Go, Rust and Ruby, shared between hooks.
- [Built-in](https://prek.j178.dev/builtin/) Rust-native implementation of some common hooks.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:ojkastl_buildservice:Branch_devel_tools_scm/prek && cd $_ - Create Badge
Source Files
| Filename | Size | Changed |
|---|---|---|
| _service | 0000000785 785 Bytes | |
| _servicedata | 0000000230 230 Bytes | |
| prek-0.2.13.obscpio | 0001496076 1.43 MB | |
| prek.changes | 0000002452 2.39 KB | |
| prek.obsinfo | 0000000094 94 Bytes | |
| prek.spec | 0000004224 4.13 KB | |
| vendor.tar.zst | 0041888924 39.9 MB |
Comments 0