Skip to content

Commit ad37552

Browse files
committed
add -D warnings option
1 parent 8224be4 commit ad37552

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Run Clippy
7373
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}
74-
run: cargo clippy --all-targets --all-features -- -D clippy::all -A clippy::redundant_closure
74+
run: cargo clippy --all-targets --all-features -- -D clippy::all -D warnings -A clippy::redundant_closure
7575

7676
- name: Install dependencies and build
7777
uses: astral-sh/setup-uv@v5

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
- id: rust-clippy
4141
name: Rust clippy
4242
description: Run cargo clippy on files included in the commit. clippy should be installed before-hand.
43-
entry: cargo clippy --all-targets --all-features -- -Dclippy::all -Aclippy::redundant_closure
43+
entry: cargo clippy --all-targets --all-features -- -Dclippy::all -D warnings -Aclippy::redundant_closure
4444
pass_filenames: false
4545
types: [file, rust]
4646
language: system

0 commit comments

Comments
 (0)