Skip to content

Commit 5c3b723

Browse files
authored
Adjust pre-commit hook names
1 parent cad9ca2 commit 5c3b723

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.pre-commit-config.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@ repos:
3232
types: [text]
3333
require_serial: true
3434
# cargo fmt and clippy
35-
- id: cargo-fmt-conda
36-
name: cargo-fmt-conda
37-
description: "Run `cargo fmt` for formatting rust sources."
35+
- id: cargo-fmt
36+
name: cargo-fmt
3837
entry: pixi run -e default cargo fmt --
3938
language: system
4039
require_serial: false
4140
types: [rust]
42-
- id: clippy-conda
43-
name: clippy-conda
44-
description: "Run `clippy` to lint rust sources."
41+
- id: cargo-clippy
42+
name: cargo-clippy
4543
entry: pixi run -e default cargo clippy --all-targets --all-features --workspace -- -D warnings
4644
pass_filenames: false
4745
language: system

0 commit comments

Comments
 (0)