coreutils/.pre-commit-config.yaml

18 lines
556 B
YAML
Raw Normal View History

repos:
2021-05-30 18:07:57 +00:00
- repo: local
2021-03-30 19:24:01 +00:00
hooks:
2021-05-30 18:07:57 +00:00
- id: rust-linting
name: Rust linting
description: Run cargo fmt on files included in the commit.
entry: cargo +stable fmt --
2021-05-30 18:07:57 +00:00
pass_filenames: true
types: [file, rust]
language: system
- id: rust-clippy
name: Rust clippy
description: Run cargo clippy on files included in the commit.
entry: cargo +stable clippy --workspace --all-targets --all-features --
2021-05-30 18:07:57 +00:00
pass_filenames: false
types: [file, rust]
language: system