mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-27 21:50:12 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
1704eb16cd
@ -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 [10, 9, 8, 7]:
|
||||
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