Skip to content

Commit

Permalink
Adjust pre-commit hook names
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw authored Jun 3, 2024
1 parent cad9ca2 commit 5c3b723
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,14 @@ repos:
types: [text]
require_serial: true
# cargo fmt and clippy
- id: cargo-fmt-conda
name: cargo-fmt-conda
description: "Run `cargo fmt` for formatting rust sources."
- id: cargo-fmt
name: cargo-fmt
entry: pixi run -e default cargo fmt --
language: system
require_serial: false
types: [rust]
- id: clippy-conda
name: clippy-conda
description: "Run `clippy` to lint rust sources."
- id: cargo-clippy
name: cargo-clippy
entry: pixi run -e default cargo clippy --all-targets --all-features --workspace -- -D warnings
pass_filenames: false
language: system
Expand Down

0 comments on commit 5c3b723

Please sign in to comment.