llama-stack-mirror/tests
Sébastien Han 2f91b73bcb
feat(pre-commit): enhance pre-commit hooks with additional checks
Add several new pre-commit hooks to improve code quality and security:

- no-commit-to-branch: prevent direct commits to protected branches like
  `main`
- check-yaml: validate YAML files
- detect-private-key: prevent accidental commit of private keys
- requirements-txt-fixer: maintain consistent requirements.txt format
  and sorting
- mixed-line-ending: enforce LF line endings to avoid mixed line endings
- check-executables-have-shebangs: ensure executable scripts have shebangs
- check-json: validate JSON files
- check-shebang-scripts-are-executable: verify shebang scripts are executable
- check-symlinks: validate symlinks and report broken ones
- check-toml: validate TOML files mainly for pyproject.toml

The respective fixes have been included.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-04-24 15:05:32 +02:00
..
client-sdk/post_training feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
external-provider/llama-stack-provider-ollama feat: allow building distro with external providers (#1967) 2025-04-18 17:18:28 +02:00
integration feat(agents): add agent naming functionality (#1922) 2025-04-17 07:02:47 -07:00
unit feat: include run.yaml in the container image (#2005) 2025-04-24 11:29:53 +02:00
verifications feat(pre-commit): enhance pre-commit hooks with additional checks 2025-04-24 15:05:32 +02:00
__init__.py refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00