prek
Better `pre-commit`, re-engineered in Rust
prek is a Rust-based reimagining of the popular pre-commit framework that runs git hooks to enforce code quality, style, and other repository checks, designed to be a faster, dependency-free, and drop-in alternative to the Python-centric original. By rewriting everything in Rust, prek delivers substantial performance gains and reduces disk usage while maintaining compatibility with existing .pre-commit-config.yaml setups, letting teams switch over without rewriting configurations. It’s optimized for modern workflows, supporting monorepos with workspace modes, parallel hook installation and execution, and native handling of common hook tasks without external runtimes. ...