feat: init

This commit is contained in:
h
2026-04-16 01:16:54 +02:00
commit 14bf1047ee
51 changed files with 2227 additions and 0 deletions

43
pyproject.toml Normal file
View File

@@ -0,0 +1,43 @@
[project]
name = "post-proposal-bot"
version = "0.1.0"
description = "Simple Telegram post proposal bot"
authors = [
{ name = "h", email = "h@kotikot.com" }
]
requires-python = ">=3.13"
dependencies = [
"aiogram>=3.24.0",
"beanie>=2.0.1",
"pydantic-settings>=2.12.0",
"rich>=14.2.0",
]
[build-system]
requires = ["uv_build>=0.9.13,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = ["bot"]
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
extend-select = ["I"]
ignore = ["CPY", "D1", "D203", "D212", "COM812", "S101", "PT", "RUF001", "RUF002", "RUF003"]
unfixable = ["F401"]
[tool.ruff.lint.per-file-ignores]
"t/*" = ["ALL"]
"*.lock" = ["ALL"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
skip-magic-trailing-comma = true
[tool.ruff.lint.isort]
split-on-trailing-comma = false