Skip to content

Commit

Permalink
Format __main__.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanzin committed Oct 27, 2023
1 parent 7ba3429 commit b95a7e6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/wily/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,23 @@ def rank(ctx, path, metric, revision, limit, desc, threshold, wrap, json):
help=_("Wrap report text to fit in terminal"),
)
@click.option(
"--json/--table",
"--json/--table",
help=_("Display results as JSON"),
default=False,
)
@click.pass_context
def report(
ctx, file, metrics, number, message, format, console_format, output, changes, wrap, json
ctx,
file,
metrics,
number,
message,
format,
console_format,
output,
changes,
wrap,
json,
):
"""Show metrics for a given file."""
config = ctx.obj["CONFIG"]
Expand Down

0 comments on commit b95a7e6

Please sign in to comment.