GitHub - j178/prek: ⚡ Better `pre-commit`, re-engineered in Rust
a month ago
- #rust
- #git-hooks
- #developer-tools
- prek is a Rust-based, faster, dependency-free alternative to pre-commit with additional features.
- Supports monorepos, parallel execution, and improved toolchain installations for multiple languages.
- Offers standalone installation via shell scripts, PyPI, Homebrew, Cargo, npmjs, Nix, and GitHub Releases.
- Includes built-in Rust-native hooks and uses uv for Python virtual environments.
- Used by major projects like CPython, Apache Airflow, and FastAPI.
- Provides commands like `prek run`, `prek list`, and `prek auto-update` with enhanced functionalities.
- Features shell completions and supports self-updating.