From fa58505439662f39e891d3d7b71646b6ee7709be Mon Sep 17 00:00:00 2001 From: wyatt-avilla Date: Sat, 15 Jun 2024 09:23:01 -0700 Subject: [PATCH] pedantic clippy in ci --- .github/workflows/rust.yml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f66d38c..80752f1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,6 +26,6 @@ jobs: GOODREADS_SHELF: ${{secrets.GOODREADS_SHELF}} run: cargo test --verbose - name: Run Clippy - run: cargo clippy --all-targets --all-features -- -D warnings + run: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic - name: Check formatting run: cargo fmt -- --check diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a56b64..6fee49b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: hooks: - id: cargo-clippy name: cargo clippy - entry: cargo clippy --all-targets --all-features -- -D warnings + entry: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic language: rust types: [rust] pass_filenames: false