-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) Β· 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (67 loc) Β· 1.93 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
name = "reverse-image-search-bot"
version = "1.0.0"
description = "Discover https://t.me/reverse_image_search_bot, a convenient Telegram bot that delivers instant reverse image search engine links and in-app results upon receiving media, simplifying your quest for related images, sources, and additional information."
authors = [{name = "Nachtalb", email = "na@nachtalb.io"}]
license = {text = "LGPL-3.0"}
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"python-magic>=0.4.27",
"validators>=0.35.0",
"python-telegram-bot[job-queue,rate-limiter,webhooks]>=22.8",
"cachetools>=7.1.7",
"Pillow>=12.3.0",
"cleverdict>=1.9.2",
"paramiko>=5.0.0",
"pixiv-api>=1.0.0",
"pixivpy3>=3.7.5",
"imageio-ffmpeg>=0.6.0",
"pyopenssl>=26.4.0",
"emoji>=2.15.0",
"user-agent>=0.1.14",
"httpx>=0.28.1",
# PicImageSearch >=3.12.10 pins lxml<6, which has no cp314 wheels
"PicImageSearch>=3.12.9,<3.12.10",
"yarl>=1.24.5",
"prometheus-client>=0.26.0",
"lxml>=6.1.1",
"ncmec-cybertip>=0.1.1",
"cryptography>=50.0.0",
"aiohttp>=3.14.3",
]
[dependency-groups]
dev = [
"ruff>=0.16.1",
"ty>=0.0.67",
]
auth = [
"gppt>=4.3.1",
]
test = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"respx>=0.23.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["reverse_image_search_bot"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
line-length = 120
target-version = "py314"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
ignore = [
"RUF001", # intentional fullwidth unicode in Japanese text handling
"RUF002", # same as above (docstrings)
"RUF012", # mutable class defaults β used intentionally for engine config pattern
]
[tool.ruff.format]
quote-style = "double"