diff options
author | Nick Brassel <nick@tzarc.org> | 2021-03-31 09:33:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 09:33:26 +1100 |
commit | 64551a8386d4c84c16c859b0bdbb05a623fe8e89 (patch) | |
tree | 8094f5bcb587fc8c39645bb53c64a78b16a47f1d /lib/python/qmk/cli | |
parent | ae59a51193031b2f36f3c5daf11316e542fcdd47 (diff) | |
download | qmk_firmware-64551a8386d4c84c16c859b0bdbb05a623fe8e89.tar.gz qmk_firmware-64551a8386d4c84c16c859b0bdbb05a623fe8e89.zip |
Allow for clang-format up to v20. (#12407)
Diffstat (limited to 'lib/python/qmk/cli')
-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 5aab31843c..1edb30553a 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): """ # 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 |