-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
104 lines (96 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
98
99
100
101
102
103
104
[project]
name = "Chtholly"
version = "0.1.0"
description = "Chtholly"
readme = "README.md"
authors = [{ name = "FrostN_0v0", email = "suny25802@gmail.com" }]
license = { text = "AGPL-3.0" }
requires-python = ">=3.10, <4.0"
dependencies = [
"langid>=1.1.6",
"nonebot2>=2.4.0",
"pydub>=0.25.1",
"rich>=13.9.4",
"ujson>=5.10.0",
]
[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
]
plugins = [
"nonebot_plugin_memes_api",
"nonebot_plugin_color_see_see",
"nonebot_plugin_wakatime",
"nonebot_plugin_kawaii_status",
"nonebot_plugin_pcr_sign",
"nonebot_plugin_zxpm",
"nonebot_plugin_today_waifu",
"nonebot_plugin_beauty_rater",
"nonebot_plugin_tarot",
"nonebot_plugin_shindan",
"nonebot_plugin_miao",
"nonebot_bison",
"nonebot_plugin_bilichat",
]
plugin_dirs = ["./plugins"]
builtin_plugins = []
[project.optional-dependencies]
adapters = [
"nonebot-adapter-onebot>=2.4.6",
"nonebot-adapter-qq>=1.5.3",
"nonebot-adapter-telegram>=0.1.0b20",
]
test = [
"nonebot2[aiohttp,fastapi,httpx,websockets]>=2.4.0",
"nonebot-plugin-orm[default]>=0.7.6",
]
plugins = [
"nonebot-bison>=0.9.5",
"nonebot-plugin-beauty-rater>=0.1.3",
"nonebot-plugin-bilichat>=5.13.4",
"nonebot-plugin-color-see-see>=0.2.0",
"nonebot-plugin-kawaii-status>=0.1.9",
"nonebot-plugin-memes-api>=0.4.12",
"nonebot-plugin-miao>=1.1.0",
"nonebot-plugin-pcr-sign>=0.1.7",
"nonebot-plugin-shindan>=0.6.5",
"nonebot-plugin-tarot>=0.2.5",
"nonebot-plugin-today-waifu>=0.1.5",
"nonebot-plugin-wakatime>=0.2.6",
"nonebot-plugin-zxpm>=0.2.2",
]
mockingbird = [
"torch>=1.10.0",
"scipy>=1.8.0",
"librosa>=0.9.0",
"numpy>=1.21.0",
"numba>=0.55.0",
"pypinyin>=0.40.0",
"webrtcvad>=2.0.0",
"Unidecode>=1.3.0",
"inflect>=5.6.0",
"loguru>=0.6.0"
]
[tool.black]
line-length = 90
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 90
length_sort = true
skip_gitignore = true
force_sort_within_sections = true
extra_standard_library = ["typing_extensions"]
[tool.ruff]
line-length = 90
target-version = "py310"
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["E402", "C901"]
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "basic"