-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
58 lines (51 loc) · 1.47 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
[tool.poetry]
name = "YetAnotherPicSearch4Telegram"
version = "1.0.0"
description = "Yet Another Picture Search bot for Telegram"
authors = ["NekoAria"]
license = "GPL-3.0-only"
readme = "README.md"
packages = [
{ include = "YetAnotherPicSearch4Telegram" },
]
homepage = "https://github.com/NekoAria/YetAnotherPicSearch4Telegram"
repository = "https://github.com/NekoAria/YetAnotherPicSearch4Telegram"
keywords = ["telegram", "ascii2d", "baidu", "e-hentai", "google", "iqdb", "saucenao", "tracemoe", "yandex", "anime", "danbooru", "doujin", "pixiv"]
[tool.poetry.dependencies]
python = "^3.8"
arrow = "^1.3.0"
cachetools = "^5.3.3"
httpx = "^0.27.0"
loguru = "^0.7.2"
lxml = "^5.2.1"
PicImageSearch = "^3.10.0"
Pillow = "^10.3.0"
pydantic = {extras = ["dotenv"], version = "^2.7.0"}
pydantic-settings = "^2.2.1"
pyquery = "^2.0.0"
python-socks = {extras = ["asyncio"], version = "^2.4.4", optional = true}
socksio = { version = "^1.0.0", optional = true }
Telethon = "^1.34.0"
tenacity = "^8.2.3"
[tool.poetry.extras]
socks = ["python-socks", "socksio"]
[tool.poetry.dev-dependencies]
[tool.mypy]
python_version = "3.8"
plugins = [
"pydantic.mypy"
]
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"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"