Pre-commit hooks for Rust projects. Forked from {TODO}
Find a file
Fadi Hadzh eeee35a89e
Merge pull request #11 from waisbrot/auto-tag
Automatically tag every commit to 'master'
2020-09-11 17:04:14 +03:00
.github/workflows Automatically tag every commit to 'master' 2020-08-12 12:45:39 -04:00
.pre-commit-config.yaml Use https instead of git protocol 2020-06-20 02:00:53 +02:00
.pre-commit-hooks.yaml Enabling possibility to add custom arguments to clippy too. 2020-08-20 09:12:38 +02:00
hooks.yaml Add a clippy hook. 2020-06-20 19:43:38 +01:00
README.md Add fmt arguments example to readme 2020-06-20 03:04:58 +02:00

Rust hooks for pre-commit

Rust tools package for pre-commit.

Using rust tools with pre-commit

-   repo: https://github.com/doublify/pre-commit-rust
    rev: master
    hooks:
    -   id: fmt
    -   id: cargo-check

Passing arguments to rustfmt

-   repo: https://github.com/doublify/pre-commit-rust
    rev: master
    hooks:
    -   id: fmt
        args: ['--verbose', '--edition', '2018', '--']