mirror of
https://github.com/uutils/coreutils
synced 2024-12-15 15:52:42 +00:00
4a3703d218
it was showing: [WARNING] normalizing pre-commit configuration to a top-level map. support for top level list will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
17 lines
546 B
YAML
17 lines
546 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- 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
|