mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
fix more
This commit is contained in:
parent
784d4afa62
commit
157714c42d
9 changed files with 105 additions and 115 deletions
|
|
@ -13,19 +13,22 @@ repos:
|
|||
name: cargo-fmt
|
||||
language: system
|
||||
types: [file, rust]
|
||||
entry: bash -c "cd crates/llm_gateway && cargo fmt"
|
||||
entry: bash -c "cd crates && cargo fmt --all -- --check"
|
||||
pass_filenames: false
|
||||
|
||||
- id: cargo-clippy
|
||||
name: cargo-clippy
|
||||
language: system
|
||||
types: [file, rust]
|
||||
entry: bash -c "cd crates/llm_gateway && cargo clippy --all"
|
||||
entry: bash -c "cd crates && cargo clippy --all-targets --all-features -- -D warnings"
|
||||
pass_filenames: false
|
||||
|
||||
- id: cargo-test
|
||||
name: cargo-test
|
||||
language: system
|
||||
types: [file, rust]
|
||||
entry: bash -c "cd crates && cargo test --lib"
|
||||
pass_filenames: false
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue