From dfe13ea250bfa719f1c133b1f2c134dee078f775 Mon Sep 17 00:00:00 2001 From: Patrick Schneeweis Date: Sat, 25 Jul 2020 15:22:05 -0400 Subject: [PATCH] add type hint --- aerich/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aerich/cli.py b/aerich/cli.py index 3cb6ee0..3a2f5cd 100644 --- a/aerich/cli.py +++ b/aerich/cli.py @@ -162,7 +162,7 @@ async def heads(ctx: Context): @cli.command(help="List all migrate items.") @click.pass_context @close_db -async def history(ctx): +async def history(ctx: Context): versions = Migrate.get_all_version_files() for version in versions: click.secho(version, fg=Color.green)