chore: ruff format

This commit is contained in:
Andrej Milicevic 2025-11-06 17:12:33 +01:00
parent da5055a0a9
commit 72ba8d0dcb
5 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,7 @@ from cognee.modules.retrieval.graph_completion_context_extension_retriever impor
GraphCompletionContextExtensionRetriever,
)
class TestGraphCompletionWithContextExtensionRetriever:
@pytest.mark.asyncio
async def test_graph_completion_extension_context_simple(self):

View file

@ -9,6 +9,7 @@ from cognee.modules.graph.utils import resolve_edges_to_text
from cognee.tasks.storage import add_data_points
from cognee.modules.retrieval.graph_completion_cot_retriever import GraphCompletionCotRetriever
class TestGraphCompletionCoTRetriever:
@pytest.mark.asyncio
async def test_graph_completion_cot_context_simple(self):

View file

@ -9,6 +9,7 @@ from cognee.modules.graph.utils import resolve_edges_to_text
from cognee.tasks.storage import add_data_points
from cognee.modules.retrieval.graph_completion_retriever import GraphCompletionRetriever
class TestGraphCompletionRetriever:
@pytest.mark.asyncio
async def test_graph_completion_context_simple(self):

View file

@ -26,6 +26,7 @@ class DocumentChunkWithEntities(DataPoint):
metadata: dict = {"index_fields": ["text"]}
class TestRAGCompletionRetriever:
@pytest.mark.asyncio
async def test_rag_completion_context_simple(self):

View file

@ -139,6 +139,7 @@ async def test_filter_top_k_events_error_handling():
with pytest.raises((KeyError, TypeError)):
await tr.filter_top_k_events([{}], [])
class _FakeRetriever(TemporalRetriever):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)