Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
QMK Bot 2021-03-30 23:17:00 +00:00
commit a8889718aa

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