🚨 auto fix by pre-commit hooks
Some checks failed
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled

This commit is contained in:
pre-commit-ci[bot] 2025-12-01 17:00:29 +00:00
parent 52d6d1337f
commit 4fbb99f20e
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ async def _prune_stale_tags():
deleted_count = await tag_manager.prune_stale_group_links() deleted_count = await tag_manager.prune_stale_group_links()
if deleted_count > 0: if deleted_count > 0:
logger.info( logger.info(
f"定时任务:成功清理了 {deleted_count} 个无效的群组标签" f"关联。", f"定时任务:成功清理了 {deleted_count} 个无效的群组标签关联。",
"群组标签管理", "群组标签管理",
) )
else: else:

View File

@ -22,9 +22,9 @@ from .config import (
lik2relation, lik2relation,
) )
assert ( assert len(level2attitude) == len(lik2level) == len(lik2relation), (
len(level2attitude) == len(lik2level) == len(lik2relation) "好感度态度、等级、关系长度不匹配!"
), "好感度态度、等级、关系长度不匹配!" )
AVA_URL = "http://q1.qlogo.cn/g?b=qq&nk={}&s=160" AVA_URL = "http://q1.qlogo.cn/g?b=qq&nk={}&s=160"