-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
108 lines (97 loc) · 2.6 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
[project]
name = "sorabot"
version = "1.0.0"
description = "基于 NoneBot2 开发,互通多平台,超可爱的林汐酱"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "AGPL-3.0"}
authors = [{name = "Komorebi", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Robot Framework",
"Framework :: Robot Framework :: Library",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Typing :: Typed",
]
dependencies = [
"nonebot2[fastapi]>=2.3.0",
"tortoise>=0.1.1",
"tortoise-orm>=0.20.0",
"ujson>=5.8.0",
"ruamel-yaml>=0.17.32",
"apscheduler>=3.10.3",
"httpx>=0.24.1",
"aiofiles>=23.2.1",
"retrying>=1.3.4",
"rich>=13.5.2",
"GitPython>=3.1.32",
"nonebot-plugin-send-anything-anywhere>=0.6.1",
"nonebot-plugin-alconna>=0.48.0",
"nonebot-plugin-userinfo>=0.1.3",
"pillow>=10.0.0",
"websockets>=11.0.3",
"pandas>=2.0.3",
"toml>=0.10.2",
"dnspython>=2.5.0",
"psutil>=5.9.8",
"py-cpuinfo>=9.0.0",
]
[project.urls]
homepage = "https://bot.netsora.info/"
repository = "https://github.com/netsora/SoraBot"
documentation = "https://bot.netsora.info/"
[project.optional-dependencies]
adapters = [
"nonebot-adapter-onebot>=2.4.3",
"nonebot-adapter-qq>=1.3.5",
"nonebot-adapter-telegram>=0.1.0b17",
]
[tool.pdm.dev-dependencies]
dev = [
"black>=23.7.0",
"ruff>=0.0.284",
"pre-commit>=3.3.3",
"isort>=5.13.2",
]
[tool.pdm.scripts]
start = "pdm run bot.py"
[tool.black]
line-length = 88
target-version = ["py310", "py311"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 88
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"]
line-length = 120
target-version = "py310"
[tool.ruff.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
executionEnvironments = [
{ root = "./tests", extraPaths = ["./"] },
{ root = "./" },
]
typeCheckingMode = "basic"
reportShadowedImports = false
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"