llama-stack/llama_stack/providers/tests/inference
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
..
groq build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
__init__.py Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
conftest.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
fixtures.py build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
pasta.jpeg Enable vision models for (Together, Fireworks, Meta-Reference, Ollama) (#376) 2024-11-05 16:22:33 -08:00
test_embeddings.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
test_model_registration.py build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
test_prompt_adapter.py Support sys_prompt behavior in inference (#937) 2025-02-03 23:35:16 -08:00
test_text_inference.py build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
test_vision_inference.py test: replace blocked image URLs with GitHub-hosted (#1025) 2025-02-10 22:38:11 -05:00
utils.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00