feat: database with tortoise orm
Python Lint CI / ty (push) Successful in 1m22s
Python Lint CI / ruff (push) Successful in 1m22s
Python Lint CI / ruff-format-check (push) Successful in 1m22s

This commit is contained in:
2026-07-01 11:43:10 +02:00
parent deba8a73f9
commit c93a74b0f4
14 changed files with 248 additions and 1 deletions
+5 -1
View File
@@ -7,6 +7,7 @@ requires-python = ">=3.14"
dependencies = [
"flask>=3.1.3,<4.0.0",
"gunicorn>=26.0.0,<27.0.0",
"tortoise-orm[asyncpg]>=1.1.7,<2.0.0",
]
[project.scripts]
@@ -31,12 +32,15 @@ add-bounds = "major"
module-root = ""
module-name = "app"
[tool.ruff]
exclude = ["app/migrations"]
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D", "E501", "ANN401", "BLE001", "COM812", "S101", "PT", "S104"]
[tool.ty.src]
include = ["app", "tests"]
include = ["app"]
[tool.ty.environment]
python = "./.venv/bin/python3"