From 6d02f0cfa04d600abdb7e709d07727f2653f6c40 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Tue, 24 Jan 2023 16:56:18 +0000 Subject: [PATCH] Add basic output on success Whilst it is true that "silence is golden", no output at all could be disconcerting and it makes searching in a CI log more difficult. Add a simple status message that says "Checked N files, style ok". Signed-off-by: David Horstmann --- scripts/code_style.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/code_style.py b/scripts/code_style.py index 5d05fd8a9b..f333c643c0 100755 --- a/scripts/code_style.py +++ b/scripts/code_style.py @@ -199,6 +199,8 @@ def main() -> int: else: # Check mode if check_style_is_correct(src_files): + print("Checked {} files, style ok.".format(len(src_files)), + file=STDOUT_UTF8) return 0 else: return 1