pre-commit-rust/hooks.yaml

15 lines
323 B
YAML
Raw Normal View History

2017-04-13 13:30:33 +01:00
- id: fmt
name: fmt
2020-01-12 21:02:48 +00:00
description: Format files with cargo fmt.
entry: cargo fmt --
2017-04-13 13:30:33 +01:00
language: system
2017-04-17 10:18:53 +01:00
files: \.rs$
2018-07-26 21:07:00 +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