Meta: Exclude crash and screenshot tests from newline-at-eof requirement

This commit is contained in:
Sam Atkins 2025-08-08 12:17:02 +01:00
commit 7c29db6ab0
Notes: github-actions[bot] 2025-08-08 15:00:37 +00:00

View file

@ -11,10 +11,14 @@ RE_RELEVANT_FILE_EXTENSION = re.compile("\\.(cpp|h|mm|swift|gml|html|js|css|sh|p
def should_check_file(filename):
if not RE_RELEVANT_FILE_EXTENSION.search(filename):
return False
if filename.startswith("Tests/LibWeb/Crash/"):
return False
if filename.startswith("Tests/LibWeb/Layout/"):
return False
if filename.startswith("Tests/LibWeb/Ref/"):
return False
if filename.startswith("Tests/LibWeb/Screenshot/"):
return False
if filename.startswith("Tests/LibWeb/Text/"):
return False
if filename.startswith("Meta/CMake/vcpkg/overlay-ports/"):