-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
64 lines (57 loc) · 1.43 KB
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
[project]
name = "echomod-msgrelay"
version = "0.1.0"
description = ""
authors = [{ name = "Satoshi Jek", email = "jks15satoshi@gmail.com" }]
dependencies = [
"anyio>=4.6.2.post1",
"nonebot-plugin-alconna>=0.53.1",
"nonebot-plugin-uninfo>=0.4.0",
"nonebot2>=2.3.0",
]
requires-python = ">=3.11"
readme = "README.md"
license = { text = "AGPL-3.0" }
# Build #
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# UV #
[tool.uv]
dev-dependencies = [
"ruff>=0.8.6",
"nonebot-adapter-onebot>=2.4.6",
"nonebot-adapter-discord>=0.1.8",
]
# Ruff #
[tool.ruff]
target-version = "py311"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"ASYNC", # flake8-async
"C4", # flake8-comprehensions
"C90", # mccabe
"D", # pydocstyle
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"PT", # flake8-pytest-style
"Q", # flake8-quotes
"RUF", # Ruff-specific rules
"TC", # flake8-type-checking
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"D104", # undocumented-public-package
"D105", # undocumented-magic-method
"D415", # ends-in-punctuation
"RUF001", # ambiguous-unicode-character-string
"RUF002", # ambiguous-unicode-character-docstring
]
[tool.ruff.lint.isort]
extra-standard-library = ["typing_extensions"]
[tool.ruff.lint.pydocstyle]
convention = "google"