Refactor code structure for improved readability and maintainability
Some checks failed
Backend CI / lint (push) Failing after 4m51s
Backend CI / test (push) Failing after 4m35s

This commit is contained in:
JSC
2025-08-20 11:37:28 +02:00
parent 9653062003
commit 821093f64f
15 changed files with 1897 additions and 217 deletions

View File

@@ -3,7 +3,7 @@ name = "sdb"
version = "2.0.0"
description = "Backend for the SDB v2"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.13"
dependencies = [
"aiosqlite==0.21.0",
"apscheduler==3.11.0",
@@ -18,18 +18,18 @@ dependencies = [
"python-vlc==3.0.21203",
"sqlmodel==0.0.24",
"uvicorn[standard]==0.35.0",
"yt-dlp==2025.7.21",
"yt-dlp==2025.8.20",
]
[tool.uv]
dev-dependencies = [
"coverage==7.10.3",
"coverage==7.10.4",
"faker==37.5.3",
"httpx==0.28.1",
"mypy==1.17.1",
"pytest==8.4.1",
"pytest-asyncio==1.1.0",
"ruff==0.12.8",
"ruff==0.12.9",
]
[tool.mypy]
@@ -37,7 +37,7 @@ strict = true
exclude = ["venv", ".venv", "alembic"]
[tool.ruff]
target-version = "py312"
target-version = "py313"
exclude = ["alembic"]
[tool.ruff.lint]