Skip to content

Commit ab33d73

Browse files
committed
chore(migration): use f-string
1 parent 2685f9b commit ab33d73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: reportsizedeltas/reportsizedeltas.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def add_summary_report_row(self, report_data, fqbn_data):
380380
row_number = len(report_data)
381381
# Add a row to the report
382382
row = ["" for _ in range(len(report_data[0]))]
383-
row[0] = "`{board_name}`".format(board_name=fqbn_data[self.ReportKeys.board])
383+
row[0] = f"`{fqbn_data[self.ReportKeys.board]}`"
384384
report_data.append(row)
385385

386386
# Populate the row with data
@@ -443,7 +443,7 @@ def add_detailed_report_row(self, report_data, fqbn_data):
443443
row_number = len(report_data)
444444
# Add a row to the report
445445
row = ["" for _ in range(len(report_data[0]))]
446-
row[0] = "`{board_name}`".format(board_name=fqbn_data[self.ReportKeys.board])
446+
row[0] = f"`{fqbn_data[self.ReportKeys.board]}`"
447447
report_data.append(row)
448448

449449
# Populate the row with data

0 commit comments

Comments
 (0)