mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
update pre-commit to only run fmt on intelligent-prompt-gateway package (#22)
This commit is contained in:
parent
cad38295bf
commit
15a44e680b
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue