mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-26 12:36:40 +00:00
✨ Feature: 添加插件元数据字段 type homepage supported_adapters (#2012)
This commit is contained in:
@@ -16,7 +16,7 @@ from .manager import PluginManager
|
||||
from . import _managers, get_plugin, _module_name_to_plugin_name
|
||||
|
||||
try: # pragma: py-gte-311
|
||||
import tomllib # pyright: reportMissingImports=false
|
||||
import tomllib # pyright: ignore[reportMissingImports]
|
||||
except ModuleNotFoundError: # pragma: py-lt-311
|
||||
import tomli as tomllib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user