refactor(project): make pyright & ruff happy

This commit is contained in:
MingxuanGame
2025-08-22 08:21:52 +00:00
parent 3b1d7a2234
commit 598fcc8b38
157 changed files with 2382 additions and 4590 deletions

View File

@@ -77,14 +77,8 @@ def downgrade() -> None:
"replays_watched_counts",
type_="foreignkey",
)
op.drop_index(
op.f("ix_replays_watched_counts_year"), table_name="replays_watched_counts"
)
op.drop_index(
op.f("ix_replays_watched_counts_user_id"), table_name="replays_watched_counts"
)
op.drop_index(
op.f("ix_replays_watched_counts_month"), table_name="replays_watched_counts"
)
op.drop_index(op.f("ix_replays_watched_counts_year"), table_name="replays_watched_counts")
op.drop_index(op.f("ix_replays_watched_counts_user_id"), table_name="replays_watched_counts")
op.drop_index(op.f("ix_replays_watched_counts_month"), table_name="replays_watched_counts")
op.drop_table("replays_watched_counts")
# ### end Alembic commands ###