-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (69 loc) · 1.87 KB
/
pyproject.toml
File metadata and controls
77 lines (69 loc) · 1.87 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
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "amrita-plugin-omikuji"
version = "0.1.3"
description = "AmritaBot的御神签插件"
readme = "README.md"
requires-python = ">=3.10, <4.0"
dependencies = [
"nonebot2[fastapi]>=2.4.3",
"nonebot-adapter-onebot>=2.4.6",
"nonebot-plugin-localstore>=0.7.4",
"aiofiles>=24.1.0",
"nonebot-plugin-orm>=0.8.2",
"amrita[full]>=1.0.1",
"zipp>=3.23.0",
]
license = "GPL-3.0-or-later"
keywords = ['chat", "nonebot']
[project.urls]
"Homepage" = "https://github.com/AmritaBot/amrita_plugin_omikuji"
"Source" = "https://github.com/AmritaBot/amrita_plugin_omikuji"
"Issue Tracker" = "https://github.com/AmritaBot/amrita_plugin_omikuji/issues"
[tool.setuptools.packages.find]
include = ["amrita_plugin_omikuji*"]
namespaces = false
[tool.uv]
dev-dependencies = [
"ruff>=0.12.8",
"nonebot-plugin-orm[default]>=0.8.2",
"pip>=25.2",
"pyright>=1.1.403",
]
[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"
[tool.nonebot]
plugins = [
"amrita.plugins.chat",
"nonebot_plugin_localstore",
"amrita_plugin_omikuji",
]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
]