RUFF检查

This commit is contained in:
ManyManyTomato 2025-07-05 08:37:45 +00:00
parent 53b8a5397b
commit 6c9b466461
3 changed files with 2 additions and 3 deletions

View File

@ -251,7 +251,7 @@ class PluginManage:
) )
group.status = False group.status = False
await group.save(update_fields=["status"]) await group.save(update_fields=["status"])
@classmethod @classmethod
async def wake(cls, group_id: str): async def wake(cls, group_id: str):
"""醒来 """醒来

View File

@ -29,7 +29,7 @@ class BotConsole(Model):
class Meta: # pyright: ignore [reportIncompatibleVariableOverride] class Meta: # pyright: ignore [reportIncompatibleVariableOverride]
table = "bot_console" table = "bot_console"
table_description = "Bot数据表" table_description = "Bot数据表"
cache_type = CacheType.BOT cache_type = CacheType.BOT
@staticmethod @staticmethod

View File

@ -1,5 +1,4 @@
from tortoise import fields from tortoise import fields
from zhenxun.services.db_context import Model from zhenxun.services.db_context import Model
from zhenxun.utils.enum import CacheType from zhenxun.utils.enum import CacheType