-
Notifications
You must be signed in to change notification settings - Fork 48
/
pyproject.toml
81 lines (70 loc) · 1.56 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
73
74
75
76
77
78
79
80
81
[project]
name = "PicImageSearch"
dynamic = ["version"]
description = "PicImageSearch APIs for Python 3.x 适用于 Python 3 以图搜源整合API"
readme = "README.md"
authors = [
{ name = "kitUIN", email = "[email protected]" },
]
maintainers = [
{ name = "kitUIN", email = "[email protected]" },
{ name = "lleans" },
{ name = "chinoll" },
{ name = "NekoAria" },
]
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = [
"httpx[http2]>=0.27.2",
"lxml>=5.3.0",
"pyquery>=2.0.1",
]
keywords = [
"ascii2d",
"baidu",
"bing",
"copyseeker",
"e-hentai",
"google",
"iqdb",
"saucenao",
"tracemoe",
"yandex",
]
[project.urls]
homepage = "https://github.com/kitUIN/PicImageSearch"
repository = "https://github.com/kitUIN/PicImageSearch"
[project.optional-dependencies]
socks = ["socksio>=1.0.0"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
version = { source = "file", path = "PicImageSearch/__init__.py" }
[tool.pdm.build]
includes = ["PicImageSearch"]
[tool.pdm.dev-dependencies]
dev = [
"black>=24.10.0",
"loguru>=0.7.2",
"mypy>=1.13.0",
"pre-commit>=4.0.1",
"ruff>=0.8.0",
]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
implicit_reexport = true
pretty = true
show_error_codes = true
strict = true
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = ["F", "E", "W", "I", "UP"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"*.py" = ["N813"]
[tool.ruff.lint.pydocstyle]
convention = "google"