You've already forked parse_datetime
mirror of
https://github.com/uutils/parse_datetime.git
synced 2026-06-10 16:13:15 -07:00
18 lines
558 B
YAML
18 lines
558 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 --workspace --all-targets --all-features --
|
||
|
|
pass_filenames: false
|
||
|
|
types: [file, rust]
|
||
|
|
language: system
|