-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
97 lines (85 loc) · 2.41 KB
/
pyproject.toml
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
[tool.poetry]
authors = ["hemengyang <hmy0119@gmail.com>"]
description = "基于 NoneBot2 的聊天机器人"
license = "MIT"
name = "coolqbot"
readme = "README.md"
repository = "https://github.com/he0119/CoolQBot"
version = "0.17.5"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
pydantic = "^2.6.3"
eorzeaenv = "^2.2.8"
matplotlib = "^3.7.1"
nonebot2 = { extras = ["httpx", "fastapi", "websockets"], version = "^2.3.0" }
nb-cli = "^1.4.0"
nonebot-adapter-onebot = "^2.4.2"
nonebot-adapter-qq = "^1.4.2"
nonebot-adapter-kaiheila = "^0.3.1"
nonebot-adapter-red = "^0.9.0"
nonebot-adapter-satori = "^0.11.4"
nonebot-adapter-dodo = "^0.2.0"
nonebot-plugin-wordcloud = "^0.7.0"
nonebot-plugin-treehelp = "^0.4.1"
nonebot-plugin-user = "^0.2.0"
nonebot-plugin-orm = { extras = ["default"], version = "^0.7.1" }
nonebot-plugin-apscheduler = "^0.4.0"
nonebot-plugin-send-anything-anywhere = "^0.6.0"
nonebot-plugin-alconna = "^0.45.3"
nonebot-plugin-datastore = "^1.2.0"
nonebot-plugin-sentry = "1.1.0"
nonebot-plugin-memes = "0.6.2"
nonebot-bison = "0.9.2"
nonebot-plugin-status = "0.8.1"
nonebot-plugin-bawiki = "0.11.2"
[tool.poetry.group.dev.dependencies]
nonebug = "^0.3.3"
nonebug-saa = "^0.4.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.6.1"
pytest-xdist = "^3.0.2"
pytest-asyncio = "^0.23.3"
respx = "^0.21.1"
freezegun = "^1.2.2"
beautifulsoup4 = "^4.12.3"
[tool.nonebot]
plugin_dirs = ["src/plugins"]
plugins = [
"nonebot_plugin_sentry",
"nonebot_plugin_treehelp",
"nonebot_plugin_wordcloud",
"nonebot_plugin_memes",
"nonebot_bison",
"nonebot_plugin_status",
"nonebot_plugin_bawiki",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.pyright]
pythonVersion = "3.12"
pythonPlatform = "All"
typeCheckingMode = "basic"
[tool.ruff.lint]
select = [
"W", # pycodestyle warnings
"E", # pycodestyle errors
"F", # Pyflakes
"UP", # pyupgrade
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"T20", # flake8-print
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"Q", # flake8-quotes
]
ignore = [
"E402", # module-import-not-at-top-of-file, Module level import not at top of cell
"E501", # line-too-long, Line too long ({width} > {limit})
"UP037", # quoted-annotation, Remove quotes from type annotation
]
[tool.coverage.report]
omit = ["*/migrations/*"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]