-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
42 lines (35 loc) · 879 Bytes
/
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
[tool.poetry]
name = "adapter-club255"
version = "0.1.1"
description = ""
authors = ["eya46 <[email protected]>"]
readme = "README.md"
packages = [{ include = "adapter_club255" }]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
nonebot2 = { extras = ["fastapi", "httpx"], version = "^2.3.3" }
pillow = "^9.5.0"
pydantic = "~2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 121
target-version = "py310"
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q", "I"]
ignore = [
"E402", # 导包位置
"E722", # 空except
"C901", # 复杂函数名
"PYI021", # PYI注释格式
"PYI048",
"UP006", # Type -> type
]
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true
[tool.ruff.lint.isort]
length-sort = true
force-sort-within-sections = true