From bc720305465523a66de58e1ea62b61ee56338760 Mon Sep 17 00:00:00 2001 From: Grigoris Pavlakis <grigpavl@ece.auth.gr> Date: Sat, 30 Mar 2019 21:06:01 +0200 Subject: [PATCH] Restore suppressed infractions to their original color until they are fixed --- ci/summarizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/summarizer.py b/ci/summarizer.py index 93c26d3e..e7f8c743 100755 --- a/ci/summarizer.py +++ b/ci/summarizer.py @@ -78,10 +78,10 @@ class Summarizer(object): def suppression_info(self): """ Pretty-prints the suppressed rule numbers. - :return: """ if (len(self.suppression_list) != 0): - print("WARNING: Suppressed infractions of rules: ", end="") + print("\n") + print(self.bold + self.yellow + "WARNING: Suppressed infractions of rules: ", end="") print(f", ".join(self.suppression_list), end=".") print("") print("") -- GitLab