refactor: Format inc files

This commit is contained in:
Lars Toenning
2025-10-11 23:45:20 +02:00
parent 84e062f689
commit fefedd03f9
3 changed files with 143 additions and 64 deletions

View File

@@ -8,7 +8,8 @@ import subprocess
def should_file_formatted(file) -> bool:
return file.endswith(".cpp") or file.endswith(".h")
excluded_filenames = ["datarefs.inc"]
return file not in excluded_filenames and (file.endswith(".cpp") or file.endswith(".h") or file.endswith(".inc"))
def get_formattable_files(folder_name):