-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
77 lines (65 loc) · 1.96 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
[tool.poetry]
name = "nonebot_plugin_chatrecorder"
version = "0.7.0"
description = "适用于 Nonebot2 的聊天记录插件"
authors = ["meetwq <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/noneplugin/nonebot-plugin-chatrecorder"
repository = "https://github.com/noneplugin/nonebot-plugin-chatrecorder"
[tool.poetry.dependencies]
python = "^3.9"
nonebot2 = "^2.3.0"
nonebot-plugin-orm = ">=0.7.0,<1.0.0"
nonebot-plugin-uninfo = ">=0.6.1,<1.0.0"
nonebot-plugin-localstore = ">=0.6.0,<1.0.0"
[tool.poetry.group.dev.dependencies]
nonebot2 = { version = "^2.3.0", extras = ["fastapi"] }
nonebot-plugin-orm = { version = ">=0.7.0,<1.0.0", extras = ["default"] }
nonebot-plugin-datastore = "^1.0.0"
[tool.poetry.group.test.dependencies]
nonebug = "^0.4.2"
pytest-cov = "^5.0.0"
pytest-xdist = "^3.0.2"
pytest-asyncio = "^0.24.0"
asyncpg = "^0.30.0"
aiomysql = "^0.2.0"
[tool.poetry.group.adapters]
optional = true
[tool.poetry.group.adapters.dependencies]
nonebot-adapter-onebot = "^2.4.4"
nonebot-adapter-console = "^0.6.0"
nonebot-adapter-kaiheila = "^0.3.4"
nonebot-adapter-telegram = "^0.1.0b17"
nonebot-adapter-feishu = "^2.6.2"
nonebot-adapter-discord = "^0.1.8"
nonebot-adapter-dodo = "^0.2.1"
nonebot-adapter-satori = "^0.12.3"
nonebot-adapter-qq = "^1.5.0"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
[tool.nonebot]
plugins = ["nonebot_plugin_chatrecorder"]
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "Q"]
ignore = ["E402", "E501", "E711", "C901", "UP037"]
[tool.pyright]
pythonVersion = "3.9"
pythonPlatform = "All"
typeCheckingMode = "basic"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@overload",
"except ImportError:",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"