🔥 删除不必要的导入

This commit is contained in:
2024-06-16 09:05:48 +08:00
parent c58f124f0c
commit aae43df953
2 changed files with 1 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ from nonebot_plugin_alconna import namespace # noqa: E402
with namespace('tetris_stats') as ns:
ns.enable_message_cache = False
from .config.config import migrations # noqa: E402
from .config import migrations # noqa: E402
__plugin_meta__ = PluginMetadata(
name='Tetris Stats',

View File

@@ -3,8 +3,6 @@ from pathlib import Path
from nonebot_plugin_localstore import get_cache_dir # type: ignore[import-untyped]
from pydantic import BaseModel
from . import migrations # noqa: F401
CACHE_PATH: Path = get_cache_dir('nonebot_plugin_tetris_stats')