Skip to content

Commit a795b26

Browse files
fix: align cargo-fmt and clippy pre-commit hooks with CI
1 parent a37c282 commit a795b26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ repos:
4444
- id: cargo-fmt
4545
name: cargo-fmt
4646
always_run: true
47-
entry: uv run --frozen cargo fmt -- --check
47+
entry: uv run --frozen cargo fmt --check
4848
language: system
4949
pass_filenames: false
5050
- repo: local
5151
hooks:
5252
- id: clippy
5353
name: clippy
5454
always_run: true
55-
entry: uv run --frozen cargo clippy --all-targets -- -D warnings
55+
entry: uv run --frozen cargo clippy --no-default-features -- -D warnings
5656
language: system
5757
pass_filenames: false
5858
- repo: https://github.com/codespell-project/codespell

0 commit comments

Comments
 (0)