Format code according to conventions (#12437)

Co-authored-by: QMK Bot <hello@qmk.fm>
master
github-actions[bot] 2021-03-31 10:16:14 +11:00 committed by GitHub
parent 64551a8386
commit 8a950a7116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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