Skip to content

Commit a3720fc

Browse files
abrookinsclaude
andcommitted
Fix linting issues in legacy migrate CLI
Remove test migration file and fix formatting issues found by flake8. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 9e667a7 commit a3720fc

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

aredis_om/model/cli/legacy_migrate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ async def _status():
6060
click.echo("Pending Automatic Migrations:")
6161
for migration in migrations:
6262
action = "CREATE" if migration.action.name == "CREATE" else "DROP"
63-
click.echo(f" {action}: {migration.index_name} (model: {migration.model_name})")
63+
click.echo(
64+
f" {action}: {migration.index_name} (model: {migration.model_name})"
65+
)
6466

6567

6668
@migrate.command()
@@ -118,4 +120,4 @@ async def _run():
118120
)
119121
return len(migrator.migrations)
120122

121-
run_async(_run())
123+
run_async(_run())

migrations/data-migrations/20250825_112740_dm1.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)