From 92c0e2cee1eef85c12b3ef2bc37389bbb2f072a5 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 9 Apr 2026 12:03:53 +0100 Subject: [PATCH] Align C formatting extensions (#26137) --- lib/python/qmk/c_parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/python/qmk/c_parse.py b/lib/python/qmk/c_parse.py index 785b940456..8a186ea9d3 100644 --- a/lib/python/qmk/c_parse.py +++ b/lib/python/qmk/c_parse.py @@ -45,7 +45,7 @@ def strip_multiline_comment(string): def c_source_files(dir_names): - """Returns a list of all *.c, *.h, and *.cpp files for a given list of directories + """Returns a list of all *.c, *.h, *.cpp, and *.hpp files for a given list of directories Args: @@ -54,7 +54,7 @@ def c_source_files(dir_names): """ files = [] for dir in dir_names: - files.extend(file for file in Path(dir).glob('**/*') if file.suffix in ['.c', '.h', '.cpp']) + files.extend(file for file in Path(dir).glob('**/*') if file.suffix in ['.c', '.h', '.cpp', '.hpp']) return files