@@ -5,17 +5,17 @@ description = "插件描述"
55readme = " README.md"
66authors = [{
name =
" owner" ,
email =
" [email protected] " }]
77urls = { Repository = " https://github.com/owner/nonebot-plugin-template" }
8- requires-python = " >=3.10,<3.13 "
8+ requires-python = " >=3.10"
99dependencies = [
1010 " nonebot2>=2.4.2,<3.0.0" ,
1111
12- " nonebot-plugin-localstore>=0.7.4,<1.0.0" , # 若不需要存储文件应删除
13- " nonebot-plugin-apscheduler>=0.5.0,<1.0.0" , # 若不使用定时任务应删除
14- " nonebot-plugin-waiter>=0.8.1,<1.0.0" , # 若不使用增强版的 got-reject 会话控制应删除
12+ " nonebot-plugin-localstore>=0.7.4,<1.0.0" , # 存储文件
13+ " nonebot-plugin-apscheduler>=0.5.0,<1.0.0" , # 定时任务
14+ " nonebot-plugin-waiter>=0.8.1,<1.0.0" , # 增强版 got-reject 会话控制
1515
16- " nonebot-plugin-uninfo>=0.9.0,<1.0.0" , # 若不使用多平台用户信息获取插件应删除
17- " nonebot-plugin-alconna>=0.59.3,<1.0.0" , # 若不使用 alconna 跨平台命令解析拓展应删除
18- # "nonebot-adapter-onebot>=2.4.6,<3.0.0", # 仅 onebot 应取消注释
16+ " nonebot-plugin-uninfo>=0.9.0,<1.0.0" , # 多平台用户信息获取
17+ " nonebot-plugin-alconna>=0.59.3,<1.0.0" , # 跨平台命令解析拓展
18+ # "nonebot-adapter-onebot>=2.4.6,<3.0.0"
1919
2020 " httpx>=0.27.0,<1.0.0" ,
2121]
@@ -24,8 +24,8 @@ dependencies = [
2424dev = [
2525 " nonebot2[fastapi]>=2.4.2,<3.0.0" ,
2626 " ruff>=0.12.7,<1.0.0" ,
27- # "nonemoji>=0.1.4,<1.0.0", # 推荐全局安装 pipx install nonemoji
28- # "pre-commit>=4.1.0", # 推荐全局安装 pipx install pre-commit
27+ " nonemoji>=0.1.4,<1.0.0" ,
28+ " pre-commit>=4.1.0" ,
2929]
3030
3131test = [
@@ -106,8 +106,10 @@ pythonVersion = "3.10"
106106pythonPlatform = " All"
107107defineConstant = { PYDANTIC_V2 = true }
108108executionEnvironments = [
109- { root = " ./tests" , extraPaths = [" ./src" ] },
110- { root = " ./src" },
109+ { root = " ./tests" , extraPaths = [
110+ " ./src" ,
111+ ] },
112+ { root = " ./src" },
111113]
112114typeCheckingMode = " standard"
113115reportShadowedImports = false
@@ -116,4 +118,4 @@ disableBytesTypePromotions = true
116118
117119[build-system ]
118120requires = [" uv_build>=0.8.0,<0.9.0" ]
119- build-backend = " uv_build"
121+ build-backend = " uv_build"
0 commit comments