From 2d1fef709664f5dc39bd7abac21bc063db90df61 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Tue, 26 May 2020 12:49:41 -0500 Subject: [PATCH] tools/codeformat.py: Use -q option on uncrustify to make output quiet. This suppresses the Parsing: 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). --- tools/codeformat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/codeformat.py b/tools/codeformat.py index 0a8bf2e0f4..2fe72ef33d 100755 --- a/tools/codeformat.py +++ b/tools/codeformat.py @@ -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)