From 49448b01ed2523003cd8e9a2f00b26e37442d1f2 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Wed, 27 Nov 2024 10:07:03 -0700 Subject: [PATCH] ruff error suppress --- swarms/__init__.py | 3 ++- tests/profiling_agent.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/swarms/__init__.py b/swarms/__init__.py index 59fee672..0cee7e11 100644 --- a/swarms/__init__.py +++ b/swarms/__init__.py @@ -7,8 +7,9 @@ from dotenv import load_dotenv load_dotenv() +# ruff: noqa: E402 # Ignore module level import not at top of file -from swarms.telemetry.bootup import bootup # noqa: E402, F403 +from swarms.telemetry.bootup import bootup # noqa: F403 from swarms.telemetry.sentry_active import ( activate_sentry, ) # noqa: E402 diff --git a/tests/profiling_agent.py b/tests/profiling_agent.py index 8f1b0220..e6d0d800 100644 --- a/tests/profiling_agent.py +++ b/tests/profiling_agent.py @@ -1,3 +1,5 @@ +# ruff: noqa: E402 # Ignore module level import not at top of file + import time start_time = time.time()