mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 11:06:01 +08:00
refactor: Format inc files
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user