summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk')
-rw-r--r--lib/python/qmk/cli/cformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py
index 1edb30553a..c7e93b2ab6 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