-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (63 loc) · 1.83 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
[tool.poetry]
name = "Tooldelta"
version = "0.0.0" # This field is automatically set to the value in the version file
description = "Plugin Loader for NeteaseRentalServer on Panel"
authors = ["ToolDelta Studio Staff"]
license = ""
readme = "README.md"
homepage = "https://github.com/ToolDelta-Basic/ToolDelta"
repository = "https://github.com/ToolDelta-Basic/ToolDelta"
# Please don't change this manually, your changes may invalidate other people's package management, use poetry to make changes!
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
colorama = "^0.4.6"
pyspeedtest = "1.2.7"
aiohttp = "^3.14.3"
flask = "^3.1.3"
websocket-client = "^1.7.0"
pyyaml = "6.0.1"
brotli = "^1.2.0"
websockets = "^12.0"
tqdm = "^4.66.4"
anyio = "^4.4.0"
requests = "^2.33.0"
numpy = "^2.1.0"
protobuf = "^6.33.5"
grpcio = "^1.83.0"
msgpack = "^1.2.1"
nbtlib = "^2.0.4"
rich = "^14.1.0"
[[tool.poetry.source]]
name = "mirrors"
url = "http://mirrors.aliyun.com/pypi/simple/"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[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
]
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"