A partial reimplementation of pre-commit
in Rust.
[!IMPORTANT] Heavily just a proof-of-concept and work-in-progress. There are bits that could probably be trivially optimized and parallelized, but that's not happening yet.
Will run your Python and Node hooks on
--all-files
, but not much more.Presently requires uv to be available for virtualenv creation (and pnpm for Node deps), has only been tested on a Mac, etc.
pre-commit
project,crates/identify
, the filename and extension mappingspre-commit/identify
Preco is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Preco by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.