Skip to content
Snippets Groups Projects
Commit 438fb039 authored by Damiano Amatruda's avatar Damiano Amatruda
Browse files

[Linter] Run clang-format also for C files

parent 22704ac8
Branches
Tags
No related merge requests found
......@@ -186,7 +186,7 @@ def check_format(directory):
# Walk throgh the directory and check each file
for dirpath, dirnames, filenames in walk(directory):
for filename in [f for f in filenames if f.endswith(('.cpp', '.h'))]:
for filename in [f for f in filenames if f.endswith(('.cpp', '.h', 'c'))]:
totalCheckdFilesCounter += 1
# Prepare the complete filepath
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment