-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (42 loc) · 1.06 KB
/
pyproject.toml
File metadata and controls
44 lines (42 loc) · 1.06 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
[project]
name = "parsehubbot"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"haishoku>=1.1.8",
"httpx>=0.28.1",
"kurigram>=2.2.7",
"loguru>=0.6.0",
"lxml-html-clean>=0.4.1",
"markdown>=3.7",
"parsehub>=2.0.0",
"pickledb>=1.6",
"pillow>=12.1.1",
"pillow-heif>=1.1.1",
"pydantic>=2.12.5",
"pydantic-settings>=2.11.0",
"python-dotenv>=1.0.1",
"pyyaml>=6.0.3",
"telegraph>=2.2.0",
"tgcrypto>=1.2.5",
"uvloop>=0.22.1 ; sys_platform != 'win32'",
"winloop>=0.3.1 ; sys_platform == 'win32'",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle 错误检查
"W", # pycodestyle 警告检查
"F", # pyflakes 错误检查
"I", # isort 导入排序
"B", # flake8-bugbear 常见错误检查
"C4", # flake8-comprehensions 列表/字典推导式检查
"UP", # pyupgrade 自动升级语法
]
ignore = [
"B008", # 不在参数默认值中执行函数调用
"C901", # 函数复杂度过高
]