Meta: Check more file extensions for newlines at EOF

This commit is contained in:
Andrew Kaster 2024-09-09 20:58:34 -06:00 committed by Andrew Kaster
parent 0601216ac4
commit b3a009f521
Notes: github-actions[bot] 2024-09-10 04:35:48 +00:00
3 changed files with 1 additions and 3 deletions

View file

@ -96,4 +96,3 @@ function(_setup_swift_paths)
endfunction()
_setup_swift_paths()

View file

@ -11,4 +11,3 @@ if(patch_not_yet_applied)
COMMAND ${GIT_EXECUTABLE} apply ${CMAKE_ARGV3} COMMAND_ERROR_IS_FATAL LAST
)
endif()

View file

@ -6,7 +6,7 @@ import subprocess
import sys
RE_RELEVANT_FILE_EXTENSION = re.compile('\\.(cpp|h|gml|html|js|css|sh|py|json|txt)$')
RE_RELEVANT_FILE_EXTENSION = re.compile('\\.(cpp|h|mm|swift|gml|html|js|css|sh|py|json|txt|cmake|gn|gni)$')
def should_check_file(filename):