Skip to content

Rust hooks for pre-commit

Notifications You must be signed in to change notification settings

ivy-net/pre-commit-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust hooks for pre-commit

Rust tools package for pre-commit.

This a fork of the fork of the original repo.

Additions are:

Using rust tools with pre-commit

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

Passing arguments to rustfmt

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