🚨 auto fix by pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2025-08-14 14:09:07 +00:00
parent f76ae521d9
commit 5dced498f4
5 changed files with 3 additions and 9 deletions

View File

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

View File

@ -62,7 +62,6 @@ async def _(session: EventSession, arparma: Arparma):
await MessageUtils.build_message("重载完成!").send(reply_to=True)
@scheduler.scheduled_job(
"interval",
seconds=Config.get_config("reload_setting", "AUTO_RELOAD_TIME", 180),

View File

@ -1,4 +1,3 @@
from . import widgets
from .core.layout import LayoutBuilder
from .core.markdown import MarkdownBuilder

View File

@ -34,4 +34,3 @@ class PluginMenuBuilder(BaseBuilder[PluginMenuData]):
for category in categories:
self.add_category(category)
return self

View File

@ -283,6 +283,3 @@ class ImageTemplate:
width = max(width, w)
height += h
return width, height