|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "nonebot-plugin-localstore" |
3 | 3 | version = "0.7.4" |
4 | 4 | description = "Local Storage Support 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" |
7 | 7 | readme = "README.md" |
8 | | -homepage = "https://github.com/nonebot/plugin-localstore" |
9 | | -repository = "https://github.com/nonebot/plugin-localstore" |
10 | | -documentation = "https://github.com/nonebot/plugin-localstore#readme" |
| 8 | +license = "MIT" |
11 | 9 | keywords = ["nonebot2", "qq", "plugin"] |
| 10 | +dependencies = [ |
| 11 | + "nonebot2>=2.3.0,<3", |
| 12 | + "nonestorage>=0.1.0,<0.2", |
| 13 | + "typing-extensions>=4.0.0,<5", |
| 14 | + "pydantic>=1.10.0,<3.0.0,!=2.5.0,!=2.5.1", |
| 15 | +] |
12 | 16 |
|
13 | | -[tool.poetry.dependencies] |
14 | | -python = "^3.9" |
15 | | -nonebot2 = "^2.3.0" |
16 | | -nonestorage = "^0.1.0" |
17 | | -typing-extensions = "^4.0.0" |
18 | | -pydantic = ">=1.10.0,<3.0.0,!=2.5.0,!=2.5.1" |
19 | | - |
20 | | -[tool.poetry.group.dev.dependencies] |
21 | | -ruff = "^0.9.0" |
22 | | -nonebug = "^0.4.3" |
23 | | -nonemoji = "^0.1.2" |
24 | | -pre-commit = "^4.0.0" |
25 | | -pytest-cov = "^6.0.0" |
26 | | -pytest-xdist = "^3.6.1" |
| 17 | +[project.urls] |
| 18 | +Homepage = "https://github.com/nonebot/plugin-localstore" |
| 19 | +Repository = "https://github.com/nonebot/plugin-localstore" |
| 20 | +Documentation = "https://github.com/nonebot/plugin-localstore#readme" |
27 | 21 |
|
28 | | -[tool.poetry.plugins.nb_scripts] |
| 22 | +[project.entry-points.nb_scripts] |
29 | 23 | localstore = "nonebot_plugin_localstore.script:main" |
30 | 24 |
|
| 25 | +[dependency-groups] |
| 26 | +dev = [ |
| 27 | + "ruff>=0.9.0,<0.10", |
| 28 | + "nonebug>=0.4.3,<0.5", |
| 29 | + "nonemoji>=0.1.2,<0.2", |
| 30 | + "pre-commit>=4.0.0,<5", |
| 31 | + "pytest-cov>=6.0.0,<7", |
| 32 | + "pytest-xdist>=3.6.1,<4", |
| 33 | +] |
| 34 | + |
| 35 | +[build-system] |
| 36 | +requires = ["uv_build>=0.9.23,<0.10.0"] |
| 37 | +build-backend = "uv_build" |
| 38 | + |
| 39 | +[tool.uv.build-backend] |
| 40 | +module-name = "nonebot_plugin_localstore" |
| 41 | +module-root = "" |
| 42 | + |
31 | 43 | [tool.pytest.ini_options] |
32 | 44 | addopts = "--cov=./nonebot_plugin_localstore --cov-report=term-missing" |
33 | 45 |
|
@@ -78,7 +90,3 @@ pythonPlatform = "All" |
78 | 90 | typeCheckingMode = "standard" |
79 | 91 | reportShadowedImports = false |
80 | 92 | disableBytesTypePromotions = true |
81 | | - |
82 | | -[build-system] |
83 | | -requires = ["poetry-core>=1.0.0"] |
84 | | -build-backend = "poetry.core.masonry.api" |
|
0 commit comments