repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: end-of-file-fixer - repo: https://github.com/cathiele/pre-commit-rust rev: v0.1.0 hooks: - id: cargo-fmt - id: cargo-clippy args: ["--all", "--tests", "--", "-D", "warnings"] - repo: local hooks: - id: compress-res name: Compress resources language: system entry: zopfli files: "^resources/.+.css$"