@@ -11,27 +11,25 @@ documentation = "https://github.com/he0119/nonebot-plugin-user#readme"
11
11
12
12
[tool .poetry .dependencies ]
13
13
python = " ^3.8"
14
- nonebot2 = " ^2.1 .0"
15
- nonebot-plugin-orm = " >=0.3 .0"
16
- nonebot-plugin-alconna = " >=0.24.0 "
17
- nonebot-plugin-session = " ^0.2 .0"
14
+ nonebot2 = " ^2.2 .0"
15
+ nonebot-plugin-orm = " >=0.7 .0"
16
+ nonebot-plugin-alconna = " >=0.37.1 "
17
+ nonebot-plugin-session = " ^0.3 .0"
18
18
expiringdict = " ^1.2.2"
19
19
20
20
[tool .poetry .group .dev .dependencies ]
21
- nb-cli = " ^1.0.4"
22
- nonebot-plugin-orm = { extras = [" default" ], version = " >=0.3.0" }
21
+ nonebot-plugin-orm = { extras = [" default" ], version = " >=0.7.0" }
23
22
nonebot-adapter-onebot = " >=2.2.3"
24
- nonebot-adapter-red = " >=0.6.1"
25
- nonebot-adapter-qq = " ^1.1.1"
26
- nonebot-adapter-satori = " ^0.8.0"
27
- nonebot2 = { extras = [" fastapi" , " httpx" , " websockets" ], version = " ^2.1.2" }
23
+ nonebot-adapter-qq = " >=1.1.1"
24
+ nonebot-adapter-satori = " >=0.8.0"
25
+ nonebot2 = { extras = [" fastapi" , " httpx" , " websockets" ], version = " ^2.2.0" }
28
26
29
27
[tool .poetry .group .test .dependencies ]
30
28
nonebug = " ^0.3.1"
31
29
pytest-cov = " ^4.0.0"
32
30
pytest-xdist = " ^3.0.2"
33
31
pytest-mock = " ^3.10.0"
34
- pytest-asyncio = " >=0.20.2,<0.22.0 "
32
+ pytest-asyncio = " ^0.23.5 "
35
33
freezegun = " ^1.2.2"
36
34
37
35
[tool .black ]
@@ -49,6 +47,7 @@ asyncio_mode = "auto"
49
47
pythonVersion = " 3.8"
50
48
pythonPlatform = " All"
51
49
typeCheckingMode = " basic"
50
+ defineConstant = { PYDANTIC_V2 = true }
52
51
53
52
[tool .ruff ]
54
53
select = [" E" , " W" , " F" , " UP" , " C" , " T" , " PYI" , " Q" ]
@@ -58,7 +57,6 @@ ignore = ["E402", "E501", "C901", "UP037"]
58
57
adapters = [
59
58
{ name = " OneBot V11" , module_name = " nonebot.adapters.onebot.v11" },
60
59
{ name = " OneBot V12" , module_name = " nonebot.adapters.onebot.v12" },
61
- { name = " RedProtocol" , module_name = " nonebot.adapters.red" },
62
60
{ name = " QQ" , module_name = " nonebot.adapters.qq" },
63
61
{ name = " Satori" , module_name = " nonebot.adapters.satori" },
64
62
]
0 commit comments