瀏覽代碼

Format code according to conventions (#12437)

Co-authored-by: QMK Bot <hello@qmk.fm>
github-actions[bot] 4 年之前
父節點
當前提交
8a950a7116
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/qmk/cli/cformat.py

+ 1 - 1
lib/python/qmk/cli/cformat.py

@@ -14,7 +14,7 @@ def cformat_run(files, all_files):
     """
     """
     # Determine which version of clang-format to use
     # Determine which version of clang-format to use
     clang_format = ['clang-format', '-i']
     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
         binary = 'clang-format-%d' % clang_version
         if which(binary):
         if which(binary):
             clang_format[0] = binary
             clang_format[0] = binary