fix: distro-codegen pre-commit hook file pattern

Update the file pattern from 'llama_stack/templates' to 'llama_stack/distributions'
to properly trigger the Distribution Template Codegen hook when distribution files change.

Signed-off-by: Derek Higgins <derekh@redhat.com>
This commit is contained in:
Derek Higgins 2025-09-04 16:15:25 +01:00
parent 02f6e0f531
commit 77bf87c4ba

View file

@ -86,7 +86,7 @@ repos:
language: python
pass_filenames: false
require_serial: true
files: ^llama_stack/templates/.*$|^llama_stack/providers/.*/inference/.*/models\.py$
files: ^llama_stack/distributions/.*$|^llama_stack/providers/.*/inference/.*/models\.py$
- id: provider-codegen
name: Provider Codegen
additional_dependencies: