Skip to content

Commit 7036264

Browse files
committed
run cargo in default env
1 parent 113bf46 commit 7036264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ repos:
3535
- id: cargo-fmt-conda
3636
name: cargo-fmt-conda
3737
description: "Run `cargo fmt` for formatting rust sources."
38-
entry: cargo fmt --
38+
entry: pixi run -e default cargo fmt --
3939
language: system
4040
require_serial: false
4141
types: [rust]
4242
- id: clippy-conda
4343
name: clippy-conda
4444
description: "Run `clippy` to lint rust sources."
45-
entry: cargo clippy --all-targets --all-features --workspace -- -D warnings
45+
entry: pixi run -e default cargo clippy --all-targets --all-features --workspace -- -D warnings
4646
pass_filenames: false
4747
language: system
4848
require_serial: false

0 commit comments

Comments
 (0)