From c5c061a5c0033299c12b98e09aba738ee6f3936a Mon Sep 17 00:00:00 2001 From: Arkadiusz Cholewinski Date: Thu, 23 Jan 2025 13:28:34 +0100 Subject: [PATCH] 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 --- scripts/ci/coverage/coverage_analysis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ci/coverage/coverage_analysis.py b/scripts/ci/coverage/coverage_analysis.py index 759690753bd..df0ebc20a73 100644 --- a/scripts/ci/coverage/coverage_analysis.py +++ b/scripts/ci/coverage/coverage_analysis.py @@ -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: { "bold": True, "fg_color": "#538DD5", - "color":"white" + "font_color":"white" } ) @@ -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(