repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: check-toml - id: trailing-whitespace - repo: https://github.com/doublify/pre-commit-rust rev: v1.0 hooks: - id: cargo-check