pre-commit-rust/README.md
Hugo Locurcio f56e09d387
docs: Update configuration example
`sha` was renamed to `rev` in pre-commit 1.9.0.

This also changes URLs to use https:// instead of git://, which
works better behind a firewall.
2018-10-16 15:15:48 +02:00

13 lines
266 B
Markdown

# Rust hooks for pre-commit
[Rust](https://www.rust-lang.org) tools package for [pre-commit](https://pre-commit.com).
## Using rust tools with pre-commit
```yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
```