45 lines
896 B
TOML
45 lines
896 B
TOML
[project]
|
|
name = "relay-bot"
|
|
version = "0.1.0"
|
|
description = "Self-hosted, source-grounded Telegram helper for small IT teams"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"aiogram>=3.13,<4",
|
|
"SQLAlchemy>=2.0,<3",
|
|
"asyncpg>=0.29",
|
|
"alembic>=1.13",
|
|
"openai>=1.50",
|
|
"pydantic-settings>=2.5",
|
|
"tiktoken>=0.8",
|
|
"pypdf>=5.0",
|
|
"python-docx>=1.1",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "pytest-asyncio>=0.24", "aiosqlite>=0.20", "ruff>=0.7"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
|
|
[tool.alembic]
|
|
script_location = "migrations"
|