-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
65 lines (60 loc) · 1.47 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 = "hikari-core"
version = "1.1.1"
description = "SDK for yuyuko,战舰世界yuyuko平台BOT SDK"
authors = ["benx1n <[email protected]>"]
readme = "README.md"
packages = [{include = "hikari_core"}]
homepage = "https://github.com/wows-yuyuko/Hikari-core"
repository = "https://github.com/wows-yuyuko/Hikari-core"
keywords = ["qqbot", "wows", "wws","bot","stats"]
[tool.poetry.dependencies]
python = "^3.8"
httpx = { version = ">=0.24.0", extras = ["http2"] }
orjson = "^3.8.11"
asyncio = "^3.4.3"
APScheduler = "^3.10.1"
jinja2 = "^3.0.0"
pydantic = "^1.10.7"
playwright = ">=1.40.0"
aiofiles = ">=0.8.0"
beautifulsoup4 = "^4.12.2"
loguru = "^0.7.0"
json_tools = "^0.4.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
# default = true
[tool.black]
line-length = 150
skip-string-normalization = true
[tool.ruff]
line-length = 150
respect-gitignore = true
ignore-init-module-imports = true
select = [
'F', # pyflakes
'E', # pycodestyle errors
'W', # pycodestyle warnings
'I', # isort
'C', # flake8-comprehensions
'B', # flake8-bugbear
'Q', # flake8-quotes
'PL', # pylint
'RUF', # Ruff-specific rules
]
ignore = [
'E501',
"RUF001",
"RUF002",
"RUF003",
"PLR2004",
"C901",
"PLR0912",
"PLR0911",
"PLW0603"
]
flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'}