Skip to content

Commit

Permalink
Formatting issue in black
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBuira committed Sep 12, 2024
1 parent c79a0d8 commit 839d45d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mergin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ def reset(ctx):
except Exception as e:
_print_unhandled_exception()


@cli.command()
@click.argument("project")
@click.option("--json", is_flag=True, default=False, help="Output in JSON format")
Expand All @@ -680,7 +681,7 @@ def list_files(ctx, project, json):
else:
click.echo("Fetched {} files .".format(len(project_files)))
for file in project_files:
click.echo(" {:40}\t{:6.1f} MB".format(file['path'], file["size"] / (1024 * 1024)))
click.echo(" {:40}\t{:6.1f} MB".format(file["path"], file["size"] / (1024 * 1024)))


if __name__ == "__main__":
Expand Down

0 comments on commit 839d45d

Please sign in to comment.