add type hint

This commit is contained in:
Patrick Schneeweis 2020-07-25 15:22:05 -04:00
parent b97ce0ff2f
commit dfe13ea250

View File

@ -162,7 +162,7 @@ async def heads(ctx: Context):
@cli.command(help="List all migrate items.") @cli.command(help="List all migrate items.")
@click.pass_context @click.pass_context
@close_db @close_db
async def history(ctx): async def history(ctx: Context):
versions = Migrate.get_all_version_files() versions = Migrate.get_all_version_files()
for version in versions: for version in versions:
click.secho(version, fg=Color.green) click.secho(version, fg=Color.green)