f56e09d387
`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.
13 lines
266 B
Markdown
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
|
|
```
|