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).
pull/6083/head
David Lechner 2020-05-26 12:49:41 -05:00 zatwierdzone przez Damien George
rodzic 093fd80760
commit 2d1fef7096
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -168,7 +168,7 @@ def main():
# 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)