Ruff Format
This commit is contained in:
@@ -22,11 +22,7 @@ def should_skip(path: Path) -> bool:
|
||||
|
||||
|
||||
def iter_python_files(root: Path) -> list[Path]:
|
||||
return sorted(
|
||||
path
|
||||
for path in root.rglob("*.py")
|
||||
if path.is_file() and not should_skip(path.relative_to(root))
|
||||
)
|
||||
return sorted(path for path in root.rglob("*.py") if path.is_file() and not should_skip(path.relative_to(root)))
|
||||
|
||||
|
||||
class CandidateExtractor(ast.NodeVisitor):
|
||||
|
||||
@@ -23,7 +23,6 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
from src.common.logger import initialize_logging, get_logger
|
||||
from src.common.database.database import db
|
||||
from src.common.database.database_model import LLMUsage
|
||||
from src.chat.message_receive.chat_manager import BotChatSession
|
||||
from maim_message import UserInfo, GroupInfo
|
||||
|
||||
logger = get_logger("test_memory_retrieval")
|
||||
|
||||
Reference in New Issue
Block a user