-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
65 lines (55 loc) · 1.77 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
[tool.poetry]
name = "nonebot_plugin_lolmatch"
version = "0.4.0b7"
description = ""
authors = ["Alex Newton <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/MaxCrazy1101/nonebot_plugin_lolmatch"
repository = "https://github.com/MaxCrazy1101/nonebot_plugin_lolmatch"
keywords = ["nonebot", "nonebot2", "LoL"]
[tool.poetry.dependencies]
python = ">=3.8,<4.0.0"
aiohttp = ">=3.10.0"
ujson = "^5"
nonebot2 = "^2.2.0"
nonebot_plugin_apscheduler = ">=0.4.0,<2.0.0"
nonebot_plugin_htmlrender = ">=0.3.0,<1.0.0"
nonebot-plugin-orm = ">=0.7.0,<1.0.0"
pillow = ">=8"
[tool.poetry.dev-dependencies]
nonebot-adapter-onebot = ">=2.2.4"
nonebot-plugin-orm = { extras = ["default"], version = ">=0.7.0" }
[tool.nonebot]
plugins = ["nonebot_plugin_lolmatch"]
adapters = [
{ name = "OneBot V12", module_name = "nonebot.adapters.onebot.v12", project_link = "nonebot-adapter-onebot", desc = "OneBot V12 协议" },
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11", project_link = "nonebot-adapter-onebot", desc = "OneBot V11 协议" },
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project.optional-dependencies]
datastore = ["nonebot-plugin-datastore>=1.2.0"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"W", # pycodestyle warnings
"E", # pycodestyle errors
"F", # pyflakes
"UP", # pyupgrade
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"T20", # flake8-print
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"Q", # flake8-quotes
]
ignore = [
"E402", # module-import-not-at-top-of-file
]
# omit = ["*/compat.py", "*/migrations/*"]
# [tool.pytest.ini_options]
# addopts = ["--import-mode=importlib"]
# asyncio_mode = "auto"