Skip to content

Commit

Permalink
run cargo in default env
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbe7a committed Jun 2, 2024
1 parent 113bf46 commit 7036264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ repos:
- id: cargo-fmt-conda
name: cargo-fmt-conda
description: "Run `cargo fmt` for formatting rust sources."
entry: 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."
entry: cargo clippy --all-targets --all-features --workspace -- -D warnings
entry: pixi run -e default cargo clippy --all-targets --all-features --workspace -- -D warnings
pass_filenames: false
language: system
require_serial: false
Expand Down

0 comments on commit 7036264

Please sign in to comment.