Browse Source

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>
pull/84479/head
Arkadiusz Cholewinski 6 months ago committed by Benjamin Cabé
parent
commit
c5c061a5c0
  1. 6
      scripts/ci/coverage/coverage_analysis.py

6
scripts/ci/coverage/coverage_analysis.py

@ -334,7 +334,7 @@ class Json_report: @@ -334,7 +334,7 @@ class Json_report:
{
"bold": True,
"fg_color": "#538DD5",
"color":"white"
"font_color":"white"
}
)
cell_format = workbook.add_format(
@ -404,7 +404,7 @@ class Json_report: @@ -404,7 +404,7 @@ class Json_report:
{
"bold": True,
"fg_color": "#538DD5",
"color":"white"
"font_color":"white"
}
)
@ -415,7 +415,7 @@ class Json_report: @@ -415,7 +415,7 @@ class Json_report:
"align": "center",
"valign": "vcenter",
"fg_color": "#538DD5",
"color":"white"
"font_color":"white"
}
)
cell_format = self.report_book.add_format(

Loading…
Cancel
Save