Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruff cleanup #646

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions auto_swarm_builder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from loguru import logger

import os
from typing import List

Expand Down
1 change: 0 additions & 1 deletion example_async_vs_multithread.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import asyncio
import threading
from swarms import Agent
from swarm_models import OpenAIChat
import time
Expand Down
1 change: 0 additions & 1 deletion swarms/utils/calculate_func_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tests/profiling_agent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# ruff: noqa: E402 # Ignore module level import not at top of file


import time

start_time = time.time()
Expand Down
Loading