-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (67 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
76 lines (67 loc) · 1.98 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
76
[project]
name = "telegram-ai-bot"
version = "0.1.0"
description = "AI-powered Telegram bot for intelligent food logging with a 5-layer recognition pipeline and anti-hallucination validation."
readme = "README.md"
authors = [
{ name = "PyDevDeep", email = "sergey23031995@gmail.com" }
]
dynamic = ["dependencies", "requires-python"]
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "~3.13.0"
aiogram = ">=3.4.0"
fastapi = ">=0.110.0"
pydantic = ">=2.6.0"
pydantic-settings = ">=2.2.0"
uvicorn = {extras = ["standard"], version = ">=0.29.0"}
alembic = ">=1.13.1"
asyncpg = ">=0.29.0"
pinecone = ">=3.0.0"
sqlalchemy = {extras = ["asyncio"], version = ">=2.0.29"}
nltk = ">=3.8.1"
pymorphy3 = ">=2.0.1"
pymorphy3-dicts-uk = ">=2.4.1.1"
rapidfuzz = ">=3.14.3"
taskiq = "*"
taskiq-redis = "*"
litellm = ">=1.35.0"
Pillow = ">=10.3.0"
zxing-cpp = ">=2.2.0"
aiogram-i18n = ">=1.4.0"
"fluent.runtime" = ">=0.4.0"
tzdata = "*"
httpx = ">=0.27.0"
python-multipart = ">=0.0.9"
sentry-sdk = ">=1.38.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.0"
pytest-asyncio = ">=0.20.0"
pytest-mock = ">=3.6"
pytest-cov = ">=3.0"
ruff = ">=0.9.0"
pyright = ">=1.1.400"
pre-commit = "^3.7.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
target-version = "py313"
exclude = [".venv", "__pycache__", "logs", "data"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "S", "W", "N", "UP", "C4", "SIM", "RUF", "A", "DTZ", "TID", "ASYNC", "PT"]
ignore = ["F401", "E501", "B008", "RUF001", "RUF002", "RUF003", "N815", "S107"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S105", "S108"]
"**/tests/*" = ["S101", "S105", "S108"]
[tool.pyright]
include = ["src"]
exclude = ["**/node_modules", "**/.*", "**/__pycache__", "build", "dist", ".venv", "venv", "env", ".env"]
pythonVersion = "3.13"
typeCheckingMode = "strict"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = ["ignore::ResourceWarning"]