Ruff Format

This commit is contained in:
DrSmoothl
2026-03-13 11:45:26 +08:00
parent 2a510312bc
commit a576313b22
70 changed files with 956 additions and 731 deletions

View File

@@ -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):

View File

@@ -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")