Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 12, 2021
1 parent 85fadc4 commit e8fb386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def results_output_table():
columns[0] = " encode".ljust(column_widths[0] + 2)
for i, library in enumerate(LIBRARIES):
if library in encodes:
columns[i + 1] = "{:,.0f} ".format(encodes[library]).rjust(
columns[i + 1] = f"{encodes[library]:,.0f} ".rjust(
column_widths[i + 1] + 2
)
else:
Expand All @@ -125,7 +125,7 @@ def results_output_table():
columns[0] = " decode".ljust(column_widths[0] + 2)
for i, library in enumerate(LIBRARIES):
if library in decodes:
columns[i + 1] = "{:,.0f} ".format(decodes[library]).rjust(
columns[i + 1] = f"{decodes[library]:,.0f} ".rjust(
column_widths[i + 1] + 2
)
else:
Expand Down

0 comments on commit e8fb386

Please sign in to comment.