From 6abba493b2988f4df8d799b4dd8aff7d30483b83 Mon Sep 17 00:00:00 2001 From: Emanuele Torre Date: Sun, 3 Jan 2021 19:31:44 +0100 Subject: Meta: Rewrite the check-newlines-at-eof script in python The bash version takes around 15 seconds to run; that is way too slow. This python3 version should take less than one second to run. :^) Also, the script will now also check .py files and .txt CMake files. --- Meta/lint-ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Meta/lint-ci.sh') diff --git a/Meta/lint-ci.sh b/Meta/lint-ci.sh index 724bcc0f15..68d379d51c 100755 --- a/Meta/lint-ci.sh +++ b/Meta/lint-ci.sh @@ -16,7 +16,7 @@ set +e for cmd in \ Meta/check-ak-test-files.sh \ Meta/check-debug-flags.sh \ - Meta/check-newlines-at-eof.sh \ + Meta/check-newlines-at-eof.py \ Meta/check-style.sh \ Meta/lint-executable-resources.sh \ Meta/lint-ipc-ids.sh \ -- cgit v1.2.3