1- [tool . poetry ]
1+ [project ]
22name = " nonebot-adapter-github"
33version = " 0.5.0"
44description = " GitHub adapter for nonebot2"
5- authors = [" yanyongyu < yyy@nonebot.dev> " ]
6- license = " MIT "
5+ authors = [{ name = " yanyongyu" , email = " yyy@nonebot.dev" } ]
6+ requires-python = " >=3.9, <4.0 "
77readme = " README.md"
8- homepage = " https://github.com/nonebot/adapter-github"
9- repository = " https://github.com/nonebot/adapter-github"
10- documentation = " https://github.com/nonebot/adapter-github"
8+ license = " MIT"
119keywords = [" bot" , " github" , " webhook" ]
1210classifiers = [
1311 " Development Status :: 5 - Production/Stable" ,
@@ -16,19 +14,32 @@ classifiers = [
1614 " Operating System :: OS Independent" ,
1715 " Programming Language :: Python :: 3" ,
1816]
19- packages = [{ include = " nonebot" }]
17+ dependencies = [
18+ " nonebot2>=2.2.0,<3" ,
19+ " pydantic>=1.10.0,<3.0.0,!=2.5.0,!=2.5.1" ,
20+ " githubkit[auth-app]>=0.12.2,<0.13.0" ,
21+ ]
2022
21- [tool .poetry .dependencies ]
22- python = " ^3.9"
23- nonebot2 = " ^2.2.0"
24- pydantic = " >=1.10.0,<3.0.0,!=2.5.0,!=2.5.1"
25- githubkit = { version = " >=0.12.2,<0.13.0" , extras = [" auth-app" ] }
23+ [project .urls ]
24+ Homepage = " https://github.com/nonebot/adapter-github"
25+ Repository = " https://github.com/nonebot/adapter-github"
26+ Documentation = " https://github.com/nonebot/adapter-github"
2627
27- [tool .poetry .group .dev .dependencies ]
28- ruff = " ^0.8.2"
29- Jinja2 = " ^3.1.2"
30- nonemoji = " ^0.1.2"
31- pre-commit = " ^3.1.0"
28+ [dependency-groups ]
29+ dev = [
30+ " ruff>=0.8.2,<0.9" ,
31+ " Jinja2>=3.1.2,<4" ,
32+ " nonemoji>=0.1.2,<0.2" ,
33+ " pre-commit>=3.1.0,<4" ,
34+ ]
35+
36+ [build-system ]
37+ requires = [" uv_build>=0.9.1,<0.10.0" ]
38+ build-backend = " uv_build"
39+
40+ [tool .uv .build-backend ]
41+ module-name = " nonebot.adapters.github"
42+ module-root = " "
3243
3344[tool .ruff ]
3445line-length = 88
@@ -92,7 +103,3 @@ typeCheckingMode = "standard"
92103reportShadowedImports = false
93104reportIncompatibleVariableOverride = false
94105disableBytesTypePromotions = true
95-
96- [build-system ]
97- requires = [" poetry-core>=1.0.0" ]
98- build-backend = " poetry.core.masonry.api"
0 commit comments