Skip to content

Commit 452be68

Browse files
authored
Make clang-tidy output use one print() call (#231)
1 parent fb85602 commit 452be68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wpiformat/wpiformat/clangtidy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ def run_standalone(self, config_file, name):
6666
lines = filtered_lines
6767

6868
if lines:
69-
print("== clang-tidy " + name + " ==")
70-
print("\n".join(lines))
69+
print(f"== clang-tidy {name} ==\n" + "\n".join(lines))
7170
return False
7271

7372
return True

0 commit comments

Comments
 (0)