Skip to content

Commit

Permalink
follow-up to #460
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Oct 26, 2021
1 parent da26fb1 commit 69895b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fireworks/features/fw_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ def get_stats_str(decorated_stat_list: List[dict]) -> str:
border_str = "=" * len(header_str) + "\n"
my_str += border_str

for i in x["states"]:
my_str += f"{i} : {x['states'][i]}\n"
for state in x["states"]:
my_str += f"{state} : {x['states'][state]}\n"

my_str += f"\ntotal : {x['count']}\n"
my_str += f"C/(C+F) : {x['completed_score']}%\n\n"
my_str += f"C/(C+F) : {x['completed_score']:.1f}%\n\n"
return my_str
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.black]
line-length = 120

0 comments on commit 69895b3

Please sign in to comment.