pre-commit-rust/.pre-commit-hooks.yaml

15 lines
319 B
YAML
Raw Normal View History

2017-04-13 13:30:33 +01:00
- id: fmt
name: fmt
description: Format files with rustfmt.
2018-07-31 05:12:55 +01:00
entry: rustfmt --
2017-04-13 13:30:33 +01:00
language: system
2017-04-17 10:18:15 +01:00
files: \.rs$
2018-07-31 05:12:55 +01:00
args: []
2019-05-06 00:17:37 +01:00
- id: cargo-check
name: cargo check
description: Check the package for errors.
entry: cargo check
language: system
files: \.rs$
pass_filenames: false