Format code according to conventions (#12437)
Co-authored-by: QMK Bot <hello@qmk.fm>
This commit is contained in:
parent
64551a8386
commit
8a950a7116
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user