Skip to content

r0x0d/pre-commit-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit.ci status

Rust hooks for pre-commit

Rust tools package for pre-commit.

Using rust tools with pre-commit

-   repo: https://github.com/r0x0d/pre-commit-rust
    rev: v1.0.0
    hooks:
    -   id: fmt
    -   id: check
    -   id: clippy
    -   id: test

Passing arguments to commands

-   repo: https://github.com/r0x0d/pre-commit-rust
    rev: v1.0.0
    hooks:
    -   id: fmt
        args: ['--', '--verbose', '--edition', '2018']
    -   id: clippy
        args: ['--','-D', 'warnings']

About

Rust hooks for pre-commit

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%