[settings] fuck it, rework the settings again

this time using pydantic-settings as a base
- removed all os.getenv calls
- removed the secret_key default option
- reworked database loading, creating tables
- prob. something else also but its 4:30 and i have to sleep
This commit is contained in:
2026-07-31 04:33:18 +02:00
parent bad4e8dd1b
commit 158b430235
11 changed files with 100 additions and 89 deletions

View File

@@ -19,6 +19,7 @@ dependencies = [
"alembic>=1.18.5",
"ruff>=0.16.0",
"gpiozero>=2.0.1.post3",
"pydantic-settings>=2.13.1",
]
[tool.uv.sources]