Skip to content

Commit c5c061a

Browse files
gbarkadiuszkartben
authored andcommitted
Coverage: Update color to font_color in header_format
Updated the code to use the font_color property, which is the correct attribute for setting the text color in recent versions of xlsxwriter (3.2.1). Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
1 parent 2534dc1 commit c5c061a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/ci/coverage/coverage_analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def _xlsx_generate_summary_page(self, workbook, json_report):
334334
{
335335
"bold": True,
336336
"fg_color": "#538DD5",
337-
"color":"white"
337+
"font_color":"white"
338338
}
339339
)
340340
cell_format = workbook.add_format(
@@ -404,7 +404,7 @@ def generate_xlsx_report(self, json_report, output):
404404
{
405405
"bold": True,
406406
"fg_color": "#538DD5",
407-
"color":"white"
407+
"font_color":"white"
408408
}
409409
)
410410

@@ -415,7 +415,7 @@ def generate_xlsx_report(self, json_report, output):
415415
"align": "center",
416416
"valign": "vcenter",
417417
"fg_color": "#538DD5",
418-
"color":"white"
418+
"font_color":"white"
419419
}
420420
)
421421
cell_format = self.report_book.add_format(

0 commit comments

Comments
 (0)