2
0
Fork 0
mirror of https://github.com/uutils/coreutils synced 2024-12-14 23:32:39 +00:00
coreutils/.pre-commit-config.yaml

18 lines
558 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 +nightly fmt --
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 +nightly clippy --workspace --all-targets --all-features --
2021-05-30 18:07:57 +00:00
pass_filenames: false
types: [file, rust]
language: system