-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
84 lines (74 loc) · 1.94 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
[tool.poetry]
name = "u1bot"
version = "0.1.0"
description = ""
authors = ["wling-art <[email protected]>"]
readme = "README.md"
[tool.nonebot]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
]
plugins = [
"nonebot_plugin_apscheduler",
"nonebot_plugin_htmlrender",
"nonebot_plugin_alconna",
"nonebot_plugin_localstore",
"nonebot_plugin_tortoise_orm",
]
plugin_dirs = ["src/plugins"]
builtin_plugins = []
[tool.poetry.dependencies]
python = "^3.10"
nonebot2 = { extras = ["fastapi"], version = "^2.4.0" }
nonebot-plugin-tortoise-orm = "^0.1.4"
nonebot-plugin-apscheduler = "^0.5.0"
nonebot-plugin-htmlrender = "^0.4.0"
nonebot-adapter-onebot = "^2.4.6"
nonebot-plugin-userinfo = "^0.2.6"
aiohttp = "^3.10.0"
pil-utils = "^0.2.1"
ujson = "^5.10.0"
nonebot-plugin-alconna = "^0.53.1"
aiocache = "^0.12.3"
faker = "^30.8.2"
cookit = "^0.8.1"
bilireq = "^0.2.13"
pyncm = "^1.6.17"
nonebot-plugin-localstore = "^0.7.1"
async-lru = "^2.0.4"
psutil = "^6.1.0"
py-cpuinfo = "^9.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "ali"
url = "https://mirrors.aliyun.com/pypi/simple/"
priority = "primary"
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"W", # pycodestyle warnings
"E", # pycodestyle errors
"UP", # pyupgrade
"ASYNC", # flake8-async
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"RUF", # Ruff-specific rules
]
ignore = [
"E402", # module-import-not-at-top-of-file
"E501", # line-too-long
"UP037", # quoted-annotation
"RUF001", # ambiguous-unicode-character-string
"RUF002", # ambiguous-unicode-character-docstring
"RUF003", # ambiguous-unicode-character-comment
]
[tool.pyright]
typeCheckingMode = "basic"