Enabling possibility to add custom arguments to clippy too.

This commit is contained in:
Nicolas Patry 2020-08-20 09:11:05 +02:00
parent 14b3e118cf
commit 0c016cee78

View file

@ -4,7 +4,7 @@
entry: cargo fmt
language: system
types: [rust]
args: ['--']
args: ["--"]
- id: cargo-check
name: cargo check
description: Check the package for errors.
@ -15,7 +15,8 @@
- id: clippy
name: clippy
description: Lint rust sources
entry: cargo clippy -- -D warnings
entry: cargo clippy
language: system
args: ["--", "-D", "warnings"]
types: [rust]
pass_filenames: false