Skip to content

Commit f63bfc3

Browse files
committed
Unblock CI import sorting
Ruff fails the clean GitHub runner on an unsorted import block in the vector retrieval tests. Normalizing the imports keeps the new CI workflow deterministic without changing test behavior. Constraint: CI runs Ruff from a clean runner with import sorting enabled Rejected: Relax Ruff import sorting | the repository already selects I rules and the fix is mechanical Confidence: high Scope-risk: narrow Reversibility: clean Tested: ruff check --no-cache src/ tests/; mypy src/; pytest -q --cov=govintel --cov-report=term-missing --cov-fail-under=90; git diff --check Not-tested: GitHub Actions result after this push
1 parent d05d74f commit f63bfc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_retrieval/test_vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
from typing import Any
88

99
import pytest
10-
from govintel.retrieval.vector import ChromaVectorStore, PineconeVectorStore
1110

1211
from govintel.ingestion.embedder import EmbeddingModel, embed_and_load
12+
from govintel.retrieval.vector import ChromaVectorStore, PineconeVectorStore
1313

1414

1515
def test_chroma_vector_store_returns_ranked_results(

0 commit comments

Comments
 (0)