llama-stack-mirror/llama_stack/apis
Sébastien Han e4a1579e63
build: format codebase imports using ruff linter (#1028)
# What does this PR do?

- Configured ruff linter to automatically fix import sorting issues.
- Set --exit-non-zero-on-fix to ensure non-zero exit code when fixes are
applied.
- Enabled the 'I' selection to focus on import-related linting rules.
- Ran the linter, and formatted all codebase imports accordingly.
- Removed the black dep from the "dev" group since we use ruff

Signed-off-by: Sébastien Han <seb@redhat.com>

[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])

## Test Plan
[Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.*]

[//]: # (## Documentation)
[//]: # (- [ ] Added a Changelog entry if the change is significant)

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-02-13 10:06:21 -08:00
..
agents build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
batch_inference Update OpenAPI generator to add param and field documentation (#896) 2025-01-29 10:04:30 -08:00
common build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
datasetio Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
datasets fix: make backslash work in GET /models/{model_id:path} (#1068) 2025-02-13 08:46:43 -08:00
eval Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
eval_tasks More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
inference feat: add MetricResponseMixin to chat completion response types (#1050) 2025-02-11 14:58:12 -08:00
inspect REST API fixes (#789) 2025-01-16 13:47:08 -08:00
models fix: make backslash work in GET /models/{model_id:path} (#1068) 2025-02-13 08:46:43 -08:00
post_training Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
safety More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
scoring More idiomatic REST API (#765) 2025-01-15 13:20:09 -08:00
scoring_functions build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
shields fix: make backslash work in GET /models/{model_id:path} (#1068) 2025-02-13 08:46:43 -08:00
synthetic_data_generation build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
telemetry fix: make backslash work in GET /models/{model_id:path} (#1068) 2025-02-13 08:46:43 -08:00
tools build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
vector_dbs fix: make backslash work in GET /models/{model_id:path} (#1068) 2025-02-13 08:46:43 -08:00
vector_io [memory refactor][6/n] Update naming and routes (#839) 2025-01-22 10:39:13 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py [memory refactor][1/n] Rename Memory -> VectorIO, MemoryBanks -> VectorDBs (#828) 2025-01-22 09:59:30 -08:00
resource.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
version.py llama-stack version alpha -> v1 2025-01-15 05:58:09 -08:00