From 25cf9a80984df440f524a51032ca08764ec2702f Mon Sep 17 00:00:00 2001 From: newell Date: Sat, 5 Oct 2024 17:36:04 -0700 Subject: [PATCH] Update yaml to reference src/Cargo.toml --- src/.pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/.pre-commit-config.yaml b/src/.pre-commit-config.yaml index 1d37807..f71d002 100644 --- a/src/.pre-commit-config.yaml +++ b/src/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: types: [file, rust] pass_filenames: false description: Runs cargo fmt on the codebase. - args: [develop, -c, cargo, fmt, --all] + args: [develop, -c, cargo, fmt, --manifest-path, src/Cargo.toml, --all] - id: nac3-cargo-clippy name: nac3 cargo clippy entry: nix @@ -21,4 +21,4 @@ repos: types: [file, rust] pass_filenames: false description: Runs cargo clippy on the codebase. - args: [develop, -c, cargo, clippy, --tests] + args: [develop, -c, cargo, clippy, --manifest-path, src/Cargo.toml, --tests]