repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: check-merge-conflict - id: check-toml - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace args: [ --markdown-linebreak-ext=md ] - repo: local hooks: - id: cargo-fmt name: cargo fmt entry: cargo fmt -- language: rust types: [ rust ]