diff --git a/auto_swarm_builder.py b/auto_swarm_builder.py index 8d981dda0..93e542fd4 100644 --- a/auto_swarm_builder.py +++ b/auto_swarm_builder.py @@ -1,5 +1,3 @@ -from loguru import logger - import os from typing import List diff --git a/example_async_vs_multithread.py b/example_async_vs_multithread.py index f547abc8b..b99732e85 100644 --- a/example_async_vs_multithread.py +++ b/example_async_vs_multithread.py @@ -1,6 +1,5 @@ import os import asyncio -import threading from swarms import Agent from swarm_models import OpenAIChat import time diff --git a/swarms/utils/calculate_func_metrics.py b/swarms/utils/calculate_func_metrics.py index bfb8a5288..795e7bb20 100644 --- a/swarms/utils/calculate_func_metrics.py +++ b/swarms/utils/calculate_func_metrics.py @@ -4,7 +4,6 @@ from typing import Any, Callable import psutil -from loguru import logger from pydantic import BaseModel from swarms.utils.loguru_logger import initialize_logger diff --git a/tests/profiling_agent.py b/tests/profiling_agent.py index 8f1b02206..f8c34a0bd 100644 --- a/tests/profiling_agent.py +++ b/tests/profiling_agent.py @@ -1,3 +1,6 @@ +# ruff: noqa: E402 # Ignore module level import not at top of file + + import time start_time = time.time()