Skip to content

Commit 2d1fef7

Browse files
dlechdpgeorge
authored andcommitted
tools/codeformat.py: Use -q option on uncrustify to make output quiet.
This suppresses the Parsing: <file> as language C lines. This makes parsing run a bit faster and on CI it makes for less scrolling through logs (and black already uses the -q option).
1 parent 093fd80 commit 2d1fef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/codeformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def batch(cmd, files, N=200):
168168

169169
# Format C files with uncrustify.
170170
if format_c:
171-
batch(["uncrustify", "-c", UNCRUSTIFY_CFG, "-lC", "--no-backup"], lang_files(C_EXTS))
171+
batch(["uncrustify", "-q", "-c", UNCRUSTIFY_CFG, "-lC", "--no-backup"], lang_files(C_EXTS))
172172
for file in lang_files(C_EXTS):
173173
fixup_c(file)
174174

0 commit comments

Comments
 (0)