plano/.pre-commit-config.yaml
Adil Hafeez 425acecccc
restructure cli
- move /arch/tools => /cli
- rename /arch -> /config
- update all refs in tests to use /config
- update planoai code with new references
2025-12-25 00:46:13 -08:00

34 lines
854 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
exclude: config/envoy.template*
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: cargo-fmt
name: cargo-fmt
language: system
types: [file, rust]
entry: bash -c "cd crates/llm_gateway && cargo fmt"
- id: cargo-clippy
name: cargo-clippy
language: system
types: [file, rust]
entry: bash -c "cd crates/llm_gateway && cargo clippy --all"
- id: cargo-test
name: cargo-test
language: system
types: [file, rust]
entry: bash -c "cd crates && cargo test --lib"
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
language_version: python3