Fix linting error and linting config

This commit is contained in:
2025-09-19 15:30:41 +02:00
parent 07d33c4568
commit 442da655c0
10 changed files with 151 additions and 260 deletions

View File

@@ -60,7 +60,7 @@ def run_migrations(engine: Engine, target_version: int | None = None) -> int:
fn = MIGRATIONS.get(cur_version)
if fn is None:
raise RuntimeError(
f"No migration from {cur_version} -> {cur_version + 1}"
f"No migration from {cur_version} -> {cur_version + 1}",
)
# call migration with Engine (fn should use transactions)
fn(engine)