forked from kitUIN/PicImageSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (53 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
61 lines (53 loc) · 1.3 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
[tool.poetry]
name = "PicImageSearch"
version = "3.9.7"
description = "PicImageSearch APIs for Python 3.x 适用于 Python 3 以图搜源整合API"
authors = ["kitUIN <kulujun@gmail.com>"]
maintainers = ["kitUIN <kulujun@gmail.com>", "lleans", "chinoll", "NekoAria"]
license = "MIT"
readme = "README.md"
packages = [{ include = "PicImageSearch" }]
homepage = "https://github.com/kitUIN/PicImageSearch"
repository = "https://github.com/kitUIN/PicImageSearch"
keywords = [
"ascii2d",
"baidu",
"e-hentai",
"google",
"iqdb",
"saucenao",
"tracemoe",
"yandex",
]
[tool.poetry.dependencies]
python = "^3.8"
httpx = "^0.26.0"
lxml = "^4.9.4"
pyquery = "^2.0.0"
socksio = { version = "^1.0.0", optional = true }
[tool.poetry.extras]
socks = ["socksio"]
[tool.poetry.group.dev.dependencies]
black = "^23.12.1"
loguru = "^0.7.2"
mypy = "^1.8.0"
pre-commit = "^3.5.0"
ruff = "^0.2.1"
[tool.mypy]
python_version = "3.8"
ignore_missing_imports = true
implicit_reexport = true
pretty = true
show_error_codes = true
strict = true
[tool.ruff]
select = ["F", "E", "W", "I", "UP"]
target-version = "py38"
line-length = 120
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"