Skip to content

Commit

Permalink
Tidy up f-string quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 3, 2024
1 parent b83b2be commit 0494c93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/shaperglot/cli/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def show_how_to_fix(reporter: Reporter):
print("\nTo add full support to nearly-supported languages:")
for category, fixes in reporter.items():
plural = "s" if len(fixes) > 1 else ""
print(f" * {category.replace("_", ' ').capitalize()}{plural}: ", end="")
print(f" * {category.replace('_', ' ').capitalize()}{plural}: ", end="")
print("; ".join(sorted(fixes)))
2 changes: 1 addition & 1 deletion Lib/shaperglot/cli/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def long_summary(fixes_needed, unsupported) -> None:
print("\nTo add support:")
for category, fixes in fixes_needed.items():
plural = "s" if len(fixes) > 1 else ""
print(f" * {category.replace("_", ' ').capitalize()}{plural}: ")
print(f" * {category.replace('_', ' ').capitalize()}{plural}: ")
for fix in sorted(fixes):
print(" - " + fix)

Expand Down

0 comments on commit 0494c93

Please sign in to comment.