repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: mixed-line-ending - id: check-merge-conflict - id: check-toml - id: check-yaml - id: check-added-large-files - id: end-of-file-fixer - id: trailing-whitespace - id: no-commit-to-branch args: [--branch, master] - repo: https://github.com/doublify/pre-commit-rust rev: v1.0 hooks: - id: fmt entry: cargo +stable fmt name: format rust sources