-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·44 lines (38 loc) · 1.03 KB
/
Copy pathpyproject.toml
File metadata and controls
executable file
·44 lines (38 loc) · 1.03 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "hyper-bot"
version = "1.0.0.post3"
description = "稳定高效、易于开发的QQ Bot框架"
authors = [
{ name = "Harcic", email = "harcic@outlook.com" },
]
urls = { repository = "https://github.com/HarcicYang/HypeR_Bot" }
requires-python = ">=3.11"
dependencies = [
"httpx~=0.28.1",
"websockets~=17.0.1",
"fastapi~=0.141.1",
"uvicorn~=0.52.0",
"ucfgr>=0.0.5",
"typing_extensions>=4.9",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["hyperot*"]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
# 工作区挂载在 NTFS (fuseblk) 上,无法表示可执行位,文件总是 rwxrwxrwx。
# git index 中已通过 `git update-index --chmod=-x` 修正为 644,此处忽略该检查。
extend-per-file-ignores = { "*.py" = ["EXE002"] }
[dependency-groups]
dev = [
"pytest>=9.1.1",
"ruff>=0.16.1",
"pyrefly>=1.2.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]