diff options
| author | QMK Bot <hello@qmk.fm> | 2021-03-30 22:34:06 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-03-30 22:34:06 +0000 |
| commit | 1704eb16cd5c7405ae7d6eba051586b9368635d6 (patch) | |
| tree | 681119fdf4d4b7581027000e64dd7c6684dda0d5 /lib | |
| parent | e95a4f4f52f7792927c480e76dba11c5a8cbd07e (diff) | |
| parent | 64551a8386d4c84c16c859b0bdbb05a623fe8e89 (diff) | |
| download | qmk_firmware-1704eb16cd5c7405ae7d6eba051586b9368635d6.tar.gz qmk_firmware-1704eb16cd5c7405ae7d6eba051586b9368635d6.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/qmk/cli/cformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py index 5aab31843..1edb30553 100644 --- a/lib/python/qmk/cli/cformat.py +++ b/lib/python/qmk/cli/cformat.py | |||
| @@ -14,7 +14,7 @@ def cformat_run(files, all_files): | |||
| 14 | """ | 14 | """ |
| 15 | # Determine which version of clang-format to use | 15 | # Determine which version of clang-format to use |
| 16 | clang_format = ['clang-format', '-i'] | 16 | clang_format = ['clang-format', '-i'] |
| 17 | for clang_version in [10, 9, 8, 7]: | 17 | for clang_version in range(20,6,-1): |
| 18 | binary = 'clang-format-%d' % clang_version | 18 | binary = 'clang-format-%d' % clang_version |
| 19 | if which(binary): | 19 | if which(binary): |
| 20 | clang_format[0] = binary | 20 | clang_format[0] = binary |
