.pre-commit-config-non-nix.yaml 443 B

123456789101112131415
  1. repos:
  2. - repo: local
  3. hooks:
  4. - id: rust-linting
  5. name: Rust linting
  6. description: Run rustfmt on included files
  7. entry: cargo fmt --
  8. types: [file, rust]
  9. language: system
  10. - id: rust-clippy
  11. name: Rust clippy
  12. description: Run clippy on included files
  13. entry: cargo clippy --workspace --all-targets --all-features --
  14. types: [file, rust]
  15. language: system