stammtisch-bot/pyproject.toml
Max R. Carrara 1d571fc726 bot: db: add base model and a simple db manager
The base model basically just adds typing to peewee (lmao) and also
handles the date_created, date_updated fields all methods, except for
raw SQL.

This should make it a little easier to write a tiny async layer on top
of it all.

Signed-off-by: Max R. Carrara <max@aequito.sh>
2025-03-10 23:56:08 +01:00

50 lines
809 B
TOML

[project]
name = "stammtisch-bot"
version = "0.1.0"
description = "A funny bot for our little Discord server."
requires-python = ">=3.13"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"peewee>=3.17.9",
"pydantic>=2.10.0",
]
[project.scripts]
bot = "bot.main:main"
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"mypy>=1.0.0",
"pytest>=7.0.0",
"ruff>=0.9.9",
]
[tool.mypy]
python_version = "3.13"
plugins = [
"pydantic.mypy"
]
ignore_missing_imports = true
check_untyped_defs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = [
"tests"
]
python_files = [
"test_*.py"
]
[tool.ruff]
line-length = 88
target-version = "py313"