generated from AmritaBot/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (58 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
64 lines (58 loc) · 1.46 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 = "amrita-plugin-exec"
description = "Command execution plugin for Amrita"
version = "0.1.4"
dependencies = [
"amrita[full]>=1.0.1",
"docker>=6.0.0",
]
readme = "README.md"
requires-python = ">=3.10, <3.14"
[tool.nonebot]
plugins = [
"nonebot_plugin_orm",
]
plugin_dirs = []
[tool.amrita]
plugins=["amrita_plugin_exec"] # 修改插件名称,使用下划线格式
[tool.setuptools.packages.find]
include = ["amrita_plugin_*"]
[[tool.nonebot.adapters]]
name = "OneBot V11"
module_name = "nonebot.adapters.onebot.v11"
[tool.uv]
dev-dependencies = [
"ruff>=0.12.8",
"nonebot-plugin-orm[default]>=0.8.2",
#"pytest>=8.4.1",
]
package = true
[tool.ruff]
line-length = 88
target-version = "py310"
[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
"I", # isort
"PERF", # pylint-performance
]
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 = "standard"