-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (85 loc) · 2.19 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
[project]
name = "nonebot_plugin_valorant"
version = "0.0.1"
description = "Valorant bot for qq plaform power by NoneBot2"
authors = [
{name = "BalconyJH", email = "[email protected]"},
]
dependencies = [
"uvicorn[standard]>=0.23.2",
"fastapi>=0.104.0",
"nonebot2>=2.1.1",
"nonebot-plugin-apscheduler>=0.3.0",
"nonebot-plugin-send-anything-anywhere>=0.3.0",
"nonebot-adapter-onebot>=2.2.4",
"nonebot-plugin-htmlrender>=0.2.2",
"pymysql>=1.1.0",
"SQLAlchemy>=1.4.41",
"sqlalchemy-utils>=0.41.1",
"cryptography>=41.0.3",
"setuptools>=68.1.0",
"aiohttp>=3.8.5",
"pillow>=10.0.1",
"asyncmy>=0.2.8",
"tqdm>=4.66.1",
"nonebot-adapter-satori>=0.6.2",
"nonebot-adapter-villa>=0.6.6",
"nonebot-adapter-discord>=0.1.0b4",
"nb-cli>=1.2.5",
"httpx>=0.25.0",
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
{ name = "OneBot V12", module_name = "nonebot.adapters.onebot.v12" },
]
plugins = ["nonebot_plugin_htmlrender"]
plugin_dirs = ["nonebot_plugin_valorant/plugins"]
builtin_plugins = ["echo"]
[tool.pdm.dev-dependencies]
dev = [
"isort>=5.12.0",
"black>=23.7.0",
"pre-commit>=3.3.3",
"flake8>=6.1.0",
"nonebot-plugin-sentry>=0.4.1",
"viztracer>=0.16.0",
]
[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311"]
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]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["E402", "C901", "UP037"]
line-length = 120
[tool.ruff.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.pyright]
pythonVersion = "3.8"
pythonPlatform = "All"
executionEnvironments = [
{ root = "./tests", extraPaths = [
"./",
] },
{ root = "./" },
]
typeCheckingMode = "basic"
reportShadowedImports = false
disableBytesTypePromotions = true