-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
72 lines (64 loc) · 1.75 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
[project]
name = "aiotieba-reviewer"
description = "High Flexibility Anti-spam Framework Based on Aiotieba"
authors = [{ name = "lumina37", email = "[email protected]" }]
urls = { Repository = "https://github.com/lumina37/aiotieba-reviewer/", Documentation = "https://review.aiotieba.cc/" }
readme = "README.md"
keywords = ["baidu", "tieba"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: Session",
]
requires-python = ">=3.9,<3.14"
dependencies = ["aiotieba[speedup,img]<5,>=4.4.9", "tomli<3,>=1.1.0;python_version<'3.11'", "asyncpg<0.30,>=0.29"]
dynamic = ["version"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "aiotieba_reviewer/__version__.py"
[tool.rye]
managed = true
[tool.uv]
dev-dependencies = ["mkdocs-material"]
[tool.ruff]
line-length = 120
target-version = "py39"
preview = true
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"I",
"UP",
"YTT",
"ASYNC",
"B",
"A",
"COM",
"C4",
"FA",
"PIE",
"PT",
"RSE",
"NPY",
"PERF",
"FURB",
]
ignore = ["E402", "E501", "COM812"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"typing.py" = ["F401"]
"*_pb2.py" = ["F401"]