diff options
author | David Lechner <david@pybricks.com> | 2020-05-26 12:49:41 -0500 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-05-28 10:08:38 +1000 |
commit | 2d1fef709664f5dc39bd7abac21bc063db90df61 (patch) | |
tree | 490c1ca7dc576431e9061ee81cd97a8b66853f7b | |
parent | 093fd807606d088cfaf874e79060a6c68484cbfa (diff) | |
download | micropython-2d1fef709664f5dc39bd7abac21bc063db90df61.tar.gz micropython-2d1fef709664f5dc39bd7abac21bc063db90df61.zip |
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).
-rwxr-xr-x | tools/codeformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |