-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
executable file
·76 lines (67 loc) · 1.63 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
[project]
name = "zhukebot"
version = "0.2.0"
description = "烛客机器人"
authors = [{ name = "dao_mingze", email = "dao_mingze@163.com" }]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"nonebot-plugin-alconna>=0.52.3",
]
[tool.nonebot]
adapters = [
{name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11"},
{name = "Console", module_name = "nonebot.adapters.console"},
]
plugins = [
"nonebot_bison",
"nonebot_plugin_revoke",
"nonebot_plugin_apscheduler",
"nonebot_plugin_moyu",
"nonebot_plugin_htmlrender",
"nonebot_plugin_status",
"nonebot_plugin_analysis_bilibili",
"nonebot_plugin_wordcloud",
"nonebot_plugin_skland_arksign",
"nonebot_plugin_avalon",
"nonebot_plugin_alconna",
"nonebot_plugin_treehelp",
"nonebot_plugin_saa"]
[tool.pdm.resolution]
respect-source-order = true
[[tool.pdm.source]]
name = "private"
url = "https://mirrors.aliyun.com/pypi/simple/"
[[tool.pdm.source]]
name = "pypi"
url = "https://pypi.org/simple"
[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''
[tool.ruff]
line-length = 120 # 代码最大行宽
lint.select = [ # 选择的规则
"F", #pyflakes
"E", #pep8
"W", #pep8
"C90", #McCobe
"I", #isort
"UP", #新版本语法
"N", #命名规范检查
"PL", #pylint静态代码检查
"PERF", #检测性能问题
#"RUF", #社区规则
]
lint.ignore = ["F401","UP009","RUF001","RUF003"] # 忽略的规则