repos: - repo: local hooks: - id: cargo-check-host name: Cargo check (host) entry: cargo check -p cli -p shared pass_filenames: false types: [file, rust] language: system - id: cargo-check-firmware name: Cargo check (firmware) entry: cargo check -p guac --target thumbv8m.main-none-eabihf pass_filenames: false types: [file, rust] language: system - id: rust-linting name: Rust linting entry: cargo fmt --all -- pass_filenames: true types: [file, rust] language: system # disable clippies for now in early dev # - id: rust-clippy # name: Rust clippy # entry: cargo clippy --lib --all-features --tests -- # pass_filenames: false # types: [file, rust] # language: system