[build-system] requires = ["hatchling>=1.27.0"] build-backend = "hatchling.build" [project] name = "glitchup-bot" version = "0.1.0" description = "Telegram bot for GlitchTip webhook alerts and digest summaries." readme = "README.md" requires-python = ">=3.13,<3.15" license = { text = "MIT" } authors = [ { name = "GlitchUp Bot contributors" } ] dependencies = [ "aiogram>=3.16,<4.0", "alembic>=1.14,<2.0", "apscheduler>=3.11,<4.0", "asyncpg>=0.30,<1.0", "fastapi>=0.115,<1.0", "httpx>=0.28,<1.0", "pydantic-settings>=2.7,<3.0", "sqlalchemy>=2.0,<3.0", "uvicorn>=0.34,<1.0", ] [dependency-groups] dev = [ "mypy>=1.10,<2.0", "pytest>=8.3,<9.0", "pytest-asyncio>=0.25,<1.0", "ruff>=0.9,<1.0", ] [project.scripts] glitchup-bot = "glitchup_bot.main:run" [tool.hatch.build.targets.wheel] packages = ["src/glitchup_bot"] [tool.pytest.ini_options] minversion = "7.0" testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = [ "-ra", "-vv", "--strict-markers", "--strict-config", "--tb=short", "--maxfail=1", "--durations=10", ] asyncio_mode = "strict" log_cli = true log_cli_level = "INFO" markers = [ "slow: slow tests", "integration: integration tests", "e2e: end-to-end tests", ] filterwarnings = [ "ignore::DeprecationWarning", ] [tool.ruff] line-length = 100 target-version = "py313" src = ["src", "tests"] [tool.ruff.lint] select = ["E", "F", "I", "B", "UP"] [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.mypy] python_version = "3.13" plugins = [] files = ["src"] ignore_missing_imports = true strict_optional = true warn_unused_ignores = true warn_redundant_casts = true warn_unused_configs = true