-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
65 lines (57 loc) · 1.28 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
[project]
authors = [
{name = "Graia Community", email = "admin@graiax.cn"},
]
requires-python = ">=3.9,<4.0"
dependencies = [
"graia-ariadne[standard]>=0.11.7",
"graiax-silkcoder[ffmpeg]>=0.3.6",
"aiohttp[speedups]>=3.8.5",
]
name = "EroEroBot"
version = "0.1.0"
description = "GraiaX 社区文档示例 —— 大家最喜欢的涩图机器人"
readme = "README.md"
[project.urls]
homepage = "https://graiax.cn"
repository = "https://github.com/Graiax-Community/EroEroBot"
documentation = "https://graiax.cn"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"black>=23.7.0",
"isort[requirements_deprecated_finder]>=5.12.0",
"flake8>=6.1.0",
]
[tool.pdm.build]
includes = [
"data/",
"modules/",
"main-*.py",
]
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311"]
safe = true
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
target-version = "py39"
select = [
# https://beta.ruff.rs/docs/rules
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
# "D", # pydocstyle
"ASYNC", # flake8-async
]
exclude = [".git", ".venv", "__pypackages__", "dist"]
ignore = ["F401"]
[tool.ruff.pydocstyle]
convention = "google"