2
0
Fork 0
mirror of https://github.com/uutils/coreutils synced 2024-12-21 10:33:24 +00:00
coreutils/.pre-commit-config.yaml

18 lines
546 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 --all-targets --all-features --
pass_filenames: false
types: [file, rust]
language: system