From 1c378dabdbd4c72097ec9f6a84b2f59afa005eee Mon Sep 17 00:00:00 2001 From: vasilije Date: Sun, 13 Jul 2025 22:34:27 +0200 Subject: [PATCH] linter fixes --- cognee/infrastructure/loaders/external/unstructured_loader.py | 1 - cognee/tasks/ingestion/adapters/loader_to_ingestion_adapter.py | 1 - 2 files changed, 2 deletions(-) diff --git a/cognee/infrastructure/loaders/external/unstructured_loader.py b/cognee/infrastructure/loaders/external/unstructured_loader.py index b60691018..1bf983608 100644 --- a/cognee/infrastructure/loaders/external/unstructured_loader.py +++ b/cognee/infrastructure/loaders/external/unstructured_loader.py @@ -104,7 +104,6 @@ class UnstructuredLoader(LoaderInterface): # Determine content type from file extension file_ext = os.path.splitext(file_path)[1].lower() - content_type_hint = None # Get file size and basic info file_size = os.path.getsize(file_path) diff --git a/cognee/tasks/ingestion/adapters/loader_to_ingestion_adapter.py b/cognee/tasks/ingestion/adapters/loader_to_ingestion_adapter.py index 912337659..241837d76 100644 --- a/cognee/tasks/ingestion/adapters/loader_to_ingestion_adapter.py +++ b/cognee/tasks/ingestion/adapters/loader_to_ingestion_adapter.py @@ -235,6 +235,5 @@ class LoaderToIngestionAdapter: Returns: IngestionData compatible object """ - from cognee.modules.ingestion.data_types import TextData return TextData(content)