generated from KomoriDev/python-pdm-template
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (95 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
112 lines (95 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[project]
name = "nonebot-plugin-deepseek"
version = "0.2.0"
description = "NoneBot DeepSeek 插件。接入 DeepSeek 模型,提供智能对话与问答功能"
authors = [
{ name = "KomoriDev ", email = "mute231010@gmail.com" },
]
license = { text = "MIT" }
readme = "README.md"
keywords = []
requires-python = ">=3.9"
dependencies = [
"nonebot2>=2.4.1",
"nonebot-plugin-alconna>=0.57.0",
"httpx[http2]>=0.28.1",
"beautifulsoup4>=4.12.3",
"nonebot-plugin-localstore>=0.7.3",
"cli-lite>=0.10.2",
]
[project.entry-points.nb_scripts]
deepseek = "nonebot_plugin_deepseek.cli.__main__:main"
[project.urls]
homepage = "https://github.com/KomoriDev/nonebot-plugin-deepseek"
repository = "https://github.com/KomoriDev/nonebot-plugin-deepseek"
[project.optional-dependencies]
image = [
"nonebot-plugin-htmlrender>=0.5.1",
]
test = [
"pytest>=8.3.4",
"nonebug>=0.4.3",
"pytest-asyncio>=0.25.3",
]
uninfo = [
"nonebot-plugin-uninfo>=0.7.0",
]
yaml = [
"pydantic-yaml>=1.4.0",
]
full = [
"pydantic-yaml>=1.4.0",
"nonebot-plugin-uninfo>=0.7.0",
"nonebot-plugin-htmlrender>=0.5.1",
]
[dependency-groups]
dev = [
"ruff>=0.6.1",
"isort>=5.13.2",
"pre-commit>=3.7.1",
"nonebot-adapter-onebot>=2.4.6",
"nonebot2[fastapi,httpx]>=2.4.1",
"nonebot-adapter-telegram>=0.1.0b20",
]
[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
{ name = "Telegram", module_name = "nonebot.adapters.telegram" }
]
plugins = ["nonebot_plugin_deepseek"]
[tool.isort]
profile = "black"
line_length = 120
length_sort = true
skip_gitignore = true
force_sort_within_sections = true
extra_standard_library = ["typing_extensions"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.format]
line-ending = "lf"
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["E402", "C901"]
[tool.ruff.lint.isort]
length-sort = true
force-sort-within-sections = true
extra-standard-library = ["typing_extensions"]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.pyright]
pythonVersion = "3.9"
pythonPlatform = "All"
typeCheckingMode = "standard"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[build-system]
requires = ["uv_build>=0.8.2,<0.9.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "nonebot_plugin_deepseek"
module-root = ""