From 8a950a7116fa8401148efa14a1da47b0879ec379 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 31 Mar 2021 10:16:14 +1100 Subject: [PATCH] Format code according to conventions (#12437) Co-authored-by: QMK Bot --- lib/python/qmk/cli/cformat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py index 1edb30553..c7e93b2ab 100644 --- a/lib/python/qmk/cli/cformat.py +++ b/lib/python/qmk/cli/cformat.py @@ -14,7 +14,7 @@ def cformat_run(files, all_files): """ # Determine which version of clang-format to use clang_format = ['clang-format', '-i'] - for clang_version in range(20,6,-1): + for clang_version in range(20, 6, -1): binary = 'clang-format-%d' % clang_version if which(binary): clang_format[0] = binary