style: ruff自动格式化修复 - 修复180个空白行和格式问题

This commit is contained in:
Windpicker-owo
2025-11-01 17:06:40 +08:00
parent ece6a70c65
commit cabaf74194
4 changed files with 173 additions and 179 deletions

View File

@@ -186,7 +186,7 @@ class RelationshipFetcher:
# 查询用户关系数据
user_id = str(await person_info_manager.get_value(person_id, "user_id"))
platform = str(await person_info_manager.get_value(person_id, "platform"))
# 使用优化后的API带缓存
relationship = await get_user_relationship(
platform=platform,
@@ -261,7 +261,7 @@ class RelationshipFetcher:
# 使用优化后的API带缓存
# 从stream_id解析platform或使用默认值
platform = stream_id.split("_")[0] if "_" in stream_id else "unknown"
stream, _ = await get_or_create_chat_stream(
stream_id=stream_id,
platform=platform,