From 42a1a76958ae4f0c3e62584e727ab9aa24de8274 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 28 Nov 2024 13:14:44 +0000 Subject: [PATCH] MegaLinter fixes --- Scripts/o2_linter.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Scripts/o2_linter.py b/Scripts/o2_linter.py index 27b6e3ce364..4daf752a2ab 100644 --- a/Scripts/o2_linter.py +++ b/Scripts/o2_linter.py @@ -503,8 +503,12 @@ def test_file(self, path: str, content) -> bool: words = line.split() if len(words) < 2: passed = False - print_error(path, i + 1, self.name, - "Failed to get the process function name. Keep it on the same line as the switch.") + print_error( + path, + i + 1, + self.name, + "Failed to get the process function name. Keep it on the same line as the switch.", + ) continue names_functions.append(words[1][:-1]) # print_error(path, i + 1, self.name, f"Got process function name {words[1][:-1]}.")