diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 38c9d3f9..d23b654f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: name: cargo-fmt language: system types: [file, rust] - entry: bash -c "cd envoyfilter && cargo fmt --all" + entry: bash -c "cd envoyfilter && cargo fmt -p intelligent-prompt-gateway -- --check" - id: cargo-clippy name: cargo-clippy language: system @@ -21,6 +21,6 @@ repos: name: cargo-test language: system types: [file, rust] - # --lib is to only test the library, since when integration tests are made, + # --lib is to only test the library, since when integration tests are made, # they will be in a seperate tests directory entry: bash -c "cd envoyfilter && cargo test --lib"