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 <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-01-24 16:56:18 +00:00
parent c9f90aaf5a
commit 089d0d08a0

View file

@ -199,6 +199,8 @@ def main() -> int:
else: else:
# Check mode # Check mode
if check_style_is_correct(src_files): if check_style_is_correct(src_files):
print("Checked {} files, style ok.".format(len(src_files)),
file=STDOUT_UTF8)
return 0 return 0
else: else:
return 1 return 1