mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-06 04:10:02 +08:00
⚡️ 优化自检插件逻辑,增加规则判断,添加nonebug配置 (#1792)
* ⬆️ Expand the range of nonebug version restrictions and update nonebot-plugin-alconna. * ✅ Update pytest configuration. * ✅ Add pytest hook to tag async tests with session-scoped event loop. * ⚡️ 优化自检插件逻辑,增加规则判断 --------- Co-authored-by: BalconyJH <balconyjh@gmail.com>
This commit is contained in:
+2
-1
@@ -50,7 +50,7 @@ nonebot-plugin-uninfo = "^0.4.1"
|
||||
nonebot-plugin-alconna = "^0.54.0"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
nonebug = "^0.4.2"
|
||||
nonebug = "^0.4"
|
||||
pytest-cov = "^5.0.0"
|
||||
pytest-mock = "^3.6.1"
|
||||
pytest-asyncio = "^0.23.5"
|
||||
@@ -137,6 +137,7 @@ disableBytesTypePromotions = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "session"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user