@@ -9,15 +9,15 @@ homepage = "https://github.com/noneplugin/nonebot-plugin-session"
99repository = " https://github.com/noneplugin/nonebot-plugin-session"
1010
1111[tool .poetry .dependencies ]
12- python = " ^3.8 "
13- nonebot2 = " ^2.0 .0"
14- strenum = " ^0.4.8 "
12+ python = " ^3.9 "
13+ nonebot2 = " ^2.3 .0"
14+ strenum = " ^0.4.15 "
1515
1616[tool .poetry .group .dev .dependencies ]
1717
1818[tool .poetry .group .test .dependencies ]
19- pytest-cov = " ^4 .0.0"
20- pytest-asyncio = " ^0.20 .0"
19+ pytest-cov = " ^5 .0.0"
20+ pytest-asyncio = " ^0.23 .0"
2121nonebug = " ^0.3.0"
2222websockets = { version = " >=10.0" }
2323fastapi = { version = " >=0.93.0,<1.0.0" }
@@ -28,28 +28,33 @@ uvicorn = { version = ">=0.20.0,<1.0.0", extras = ["standard"] }
2828optional = true
2929
3030[tool .poetry .group .adapters .dependencies ]
31- nonebot-adapter-onebot = " ^2.4.0 "
32- nonebot-adapter-console = " ^0.5 .0"
33- nonebot-adapter-kaiheila = " ^0.3.1 "
34- nonebot-adapter-telegram = { git = " https://github.com/nonebot/adapter-telegram.git " }
35- nonebot-adapter-feishu = " ^2.4.0 "
31+ nonebot-adapter-onebot = " ^2.4.4 "
32+ nonebot-adapter-console = " ^0.6 .0"
33+ nonebot-adapter-kaiheila = " ^0.3.4 "
34+ nonebot-adapter-telegram = " ^0.1.0b17 "
35+ nonebot-adapter-feishu = " ^2.6.2 "
3636nonebot-adapter-red = " ^0.9.0"
37- nonebot-adapter-discord = { git = " https://github.com/nonebot/adapter-discord.git " }
38- nonebot-adapter-satori = " ^0.9 .3"
39- nonebot-adapter-qq = " ^1.4.1 "
40- nonebot-adapter-dodo = " ^0.2.0 "
37+ nonebot-adapter-discord = " ^0.1.8 "
38+ nonebot-adapter-satori = " ^0.12 .3"
39+ nonebot-adapter-qq = " ^1.5.0 "
40+ nonebot-adapter-dodo = " ^0.2.1 "
4141
4242[tool .nonebot ]
4343plugins = [" nonebot_plugin_session" ]
4444adapters = [
4545 { name = " OneBot V11" , module_name = " nonebot.adapters.onebot.v11" },
4646]
4747
48- [tool .isort ]
49- profile = " black"
50- skip_gitignore = true
48+ [tool .pyright ]
49+ pythonVersion = " 3.9"
50+ pythonPlatform = " All"
51+ typeCheckingMode = " basic"
5152
5253[tool .ruff ]
54+ line-length = 88
55+ target-version = " py39"
56+
57+ [tool .ruff .lint ]
5358select = [" E" , " W" , " F" , " UP" , " C" , " T" , " PYI" , " Q" ]
5459ignore = [" E402" , " E501" , " E711" , " C901" , " UP037" ]
5560
0 commit comments