-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
87 lines (72 loc) · 1.99 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tool.poetry]
name = "nonebot-plugin-access-control"
version = "1.2.2"
description = ""
authors = ["ssttkkl <[email protected]>"]
license = "MIT"
readme = "README.MD"
repository = "https://github.com/bot-ssttkkl/nonebot-plugin-access-control"
packages = [
{ include = "nonebot_plugin_access_control", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.9"
nonebot2 = ">=2.3.0, <3.0.0"
nonebot-plugin-access-control-api = "^1.2.0"
nonebot-plugin-apscheduler = ">=0.3.0"
nonebot-plugin-session = "^0.3.0"
nonebot-plugin-orm = ">=0.7.0, <1.0.0"
arclet-alconna = "^1.7.24"
shortuuid = "^1.0.11"
pytimeparser = "^0.2.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.275"
isort = "^5.10.1"
black = "^23.1.0"
pre-commit = "^3.1.0"
setuptools = "^68.1.2"
nb-cli = "*"
nonebot-plugin-orm = { extras = ["default"], version = "*" }
nonebot2 = { extras = ["fastapi"], version = "*" }
nonebot-adapter-onebot = "*"
nonebot-adapter-kaiheila = "*"
nonebot-adapter-qq = "*"
nonebot-adapter-telegram = "*"
nonebot-adapter-console = "*"
nonebot-adapter-feishu = "*"
nonebug = "^0.3.5"
pytest = "^7.4.3"
pytest-asyncio = "^0.21.1"
pytest-cov = "^4.1.0"
[tool.black]
line-length = 88
target-version = ["py39", "py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 88
length_sort = true
skip_gitignore = true
force_sort_within_sections = true
extra_standard_library = ["typing_extensions"]
[tool.ruff]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["C901", "E402", "F403", "T201"]
line-length = 160
target-version = "py39"
[tool.ruff.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.poetry.extras]
cli = ["nb-cli"]
migrate = ["nonebot-plugin-datastore"]
[tool.poetry.plugins.nb_scripts]
accctrl = "nonebot_plugin_access_control.script:install"
[tool.nonebot]
plugins = ["nonebot_plugin_access_control"]
plugin_dirs = []
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"