From 682a690c2e647390870f27c24a84e320f6f35f95 Mon Sep 17 00:00:00 2001 From: Zsolt Dollenstein Date: Sun, 18 Aug 2019 17:55:30 +0200 Subject: [PATCH] add clippy hook --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 22bec7d..80b7c98 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -12,3 +12,10 @@ language: system files: \.rs$ pass_filenames: false +- id: clippy + name: clippy + description: Lint rust sources + entry: cargo clippy -- -D warnings + language: system + files: \.rs$ + pass_filenames: false