-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (56 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
62 lines (56 loc) · 1.64 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
[project]
name = "nonebot_plugin_liteperm"
version = "0.1.1"
description = "基于权限节点/权限组/特殊权限的Nonebot权限管理插件。"
authors = [
{ name = "JohnRichard4096", email = "windowserror@163.com" },
{ name = "MrlingXD", email = "wlingzhenyu@163.com" },
]
dependencies = [
"nonebot2>=2.2.0",
"nonebot-adapter-onebot>=2.0.0",
"nonebot-plugin-localstore>=0.7",
"typing-extensions>=4.13.2",
"tomli>=2.2.1",
"tomli-w>=1.2.0",
"pydantic>=2.0.0",
]
requires-python = ">=3.10, <3.14"
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
keywords = ['nonebot']
[tool.pdm]
distribution = true
[project.urls]
"Homepage" = "https://github.com/LiteSuggarDEV/plugin-liteperm"
"Source" = "https://github.com/LiteSuggarDEV/plugin-liteperm"
"Issue Tracker" = "https://github.com/LiteSuggarDEV/plugin-liteperm/issues"
[tool.ruff]
line-length = 88
target-version = "py311"
[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 = "basic"