From 64e970c001ce32ce588e316c72dd395e17ea6786 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Thu, 16 Jan 2025 17:42:01 +0100 Subject: [PATCH] Exclude patches from trailing whitespace check --- .github/format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/format.sh b/.github/format.sh index 247f732e0f..e416765427 100755 --- a/.github/format.sh +++ b/.github/format.sh @@ -33,7 +33,7 @@ do # Check if tab are present. egrep -Hn $'\t' $FILE && TAB_FOUND=1 || true ;; - *.pdf|*.hdf5|*.jpg|*.png|*.ppt|*.pptx|*.ipe) + *.pdf|*.hdf5|*.jpg|*.patch|*.png|*.ppt|*.pptx|*.ipe) # Exclude some binary files types, # others can be excluded as needed. ;;