From d50455a1e6fd3395f5a11309fd63d9c24684ac0d Mon Sep 17 00:00:00 2001 From: Daulet Amirkhanov Date: Fri, 26 Sep 2025 15:14:47 +0100 Subject: [PATCH] ruff format --- cognee-mcp/src/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cognee-mcp/src/__init__.py b/cognee-mcp/src/__init__.py index 32a291cfb..c71afdd1b 100644 --- a/cognee-mcp/src/__init__.py +++ b/cognee-mcp/src/__init__.py @@ -5,15 +5,15 @@ import warnings def main(): """Deprecated main entry point for the package.""" import asyncio - + # Show deprecation warning warnings.warn( "The 'cognee' command for cognee-mcp is deprecated and will be removed in a future version. " "Please use 'cognee-mcp' instead to avoid conflicts with the main cognee library.", DeprecationWarning, - stacklevel=2 + stacklevel=2, ) - + print("⚠️ DEPRECATION WARNING: Use 'cognee-mcp' command instead of 'cognee'") print(" This avoids conflicts with the main cognee library.") print() @@ -24,4 +24,5 @@ def main(): def main_mcp(): """Clean main entry point for cognee-mcp command.""" import asyncio + asyncio.run(server_main())