⚡️ 优化自检插件逻辑,增加规则判断,添加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:
HibiKier
2024-12-23 10:09:06 +08:00
committed by GitHub
co-authored by BalconyJH
parent 3a197c0c1d
commit 4291cda244
5 changed files with 55 additions and 40 deletions
+2 -1
View File
@@ -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"]