[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0038ea3561
commit
a53835a3e0
1 changed files with 4 additions and 2 deletions
|
|
@ -1018,7 +1018,7 @@ def routes_command(sort: str, all_methods: bool) -> None:
|
|||
for rule in rules
|
||||
]
|
||||
|
||||
headers = ("Sub Domain","Endpoint", "Methods", "Rule")
|
||||
headers = ("Sub Domain", "Endpoint", "Methods", "Rule")
|
||||
widths = (
|
||||
max(len(rule.subdomain) for rule in rules),
|
||||
max(len(rule.endpoint) for rule in rules),
|
||||
|
|
@ -1031,7 +1031,9 @@ def routes_command(sort: str, all_methods: bool) -> None:
|
|||
click.echo(row.format(*("-" * width for width in widths)))
|
||||
|
||||
for rule, methods in zip(rules, rule_methods):
|
||||
click.echo(row.format(rule.subdomain, rule.endpoint, methods, rule.rule).rstrip())
|
||||
click.echo(
|
||||
row.format(rule.subdomain, rule.endpoint, methods, rule.rule).rstrip()
|
||||
)
|
||||
|
||||
|
||||
cli = FlaskGroup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue