-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
116 lines (106 loc) · 2.98 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[project]
name = "nonebot-plugin-alconna"
description = "Alconna Adapter for Nonebot"
authors = [
{name = "RF-Tar-Railt", email = "[email protected]"},
]
dependencies = [
"tarina<0.7,>=0.6.8",
"nepattern<1.0,>=0.7.7",
"arclet-alconna<2.0,>=1.8.35",
"arclet-alconna-tools>=0.7.10",
"importlib-metadata>=4.13.0",
"nonebot2>=2.3.0",
"nonebot-plugin-waiter>=0.6.0",
]
dynamic = ["version"]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MIT"}
keywords = [
"command",
"alconna",
"nonebot",
]
[project.urls]
homepage = "https://github.com/nonebot/plugin-alconna"
repository = "https://github.com/nonebot/plugin-alconna"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"isort>=5.13.2",
"black>=24.4.2",
"loguru>=0.7.2",
"ruff>=0.4.2",
"nonemoji>=0.1.4",
"pre-commit>=3.7.0",
"nonebug>=0.3.7",
"pytest-xdist>=3.6.1",
"pytest-asyncio>=0.23.6",
"fastapi>=0.110.2",
"uvicorn[standard]>=0.28.1",
"pydantic>=2.7.0",
"nonebot2[httpx,websockets]>=2.3.0",
"nonebot-adapter-console>=0.5.0",
"nonebot-adapter-ding>=2.0.0a16",
"nonebot-adapter-discord>=0.1.8",
"nonebot-adapter-dodo>=0.2.1",
"nonebot-adapter-feishu>=2.6.0",
"nonebot-adapter-kaiheila>=0.3.4",
"nonebot-adapter-mirai>=2.3.3",
"nonebot-adapter-minecraft>=1.3.2",
"nonebot-adapter-onebot>=2.4.5",
"nonebot-adapter-qq>=1.5.3",
"nonebot-adapter-red>=0.9.0",
"nonebot-adapter-satori>=0.13.0",
"nonebot-adapter-telegram>=0.1.0b18",
"nonebot-adapter-kritor>=0.3.2",
"nonebot-adapter-tailchat>=0.1.0b12",
"nonebot-plugin-filehost>=1.1.1",
"nonebot-plugin-send-anything-anywhere>=0.7.1",
"pytest-sugar>=1.0.0",
"pytest-mock>=3.14.0",
"nonebot-plugin-localstore>=0.7.1",
"pyyaml>=6.0.1",
"nonebot-adapter-mail>=1.0.0a3",
]
[tool.pdm.build]
includes = ["src/nonebot_plugin_alconna"]
[tool.pdm.version]
source = "file"
path = "src/nonebot_plugin_alconna/__init__.py"
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
'''
[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.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["C901", "T201", "E731", "E402", "PT023"]
[tool.pyright]
pythonVersion = "3.9"
pythonPlatform = "All"
defineConstant = { PYDANTIC_V2 = true }
typeCheckingMode = "basic"
reportShadowedImports = false
disableBytesTypePromotions = true
[tool.pdm.scripts]
test = "pytest -v -n 2 -W ignore ./tests/"
format = { composite = ["isort ./src/ ./example/ ./tests/","black ./src/ ./example/ ./tests/","ruff check ./src/ ./example/ ./tests/"] }
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"