# Pre-commit hook # Place into `.git/hooks` or use `git config core.hooksPath scripts/git-hooks` # from the root of the repository cargo test cargo clippy --tests --benches -- -Dwarnings cargo fmt -- --check