Skip to content

Commit

Permalink
tools/codeformat.py: Use -q option on uncrustify to make output quiet.
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
dlech authored and dpgeorge committed May 28, 2020
1 parent 093fd80 commit 2d1fef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/codeformat.py
Expand Up @@ -168,7 +168,7 @@ def batch(cmd, files, N=200):

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

Expand Down

0 comments on commit 2d1fef7

Please sign in to comment.