diff --git a/scripts/clang-format-test.sh b/scripts/clang-format-test.sh
index 7146c82885fc2f6f54e4ce80cedc280347876180..808785d29197a241f716138c69819e2a3c5ebeb4 100755
--- a/scripts/clang-format-test.sh
+++ b/scripts/clang-format-test.sh
@@ -19,7 +19,7 @@ fi
 # with respect to master (target branch)
 tb="master"
 # we disregard the test/static_analysis directory since this contains LLVM code + headers
-filelist=`git diff ${tb}... --name-only | grep -v -i -e linkdef`
+filelist=`git diff ${tb}... --name-only | grep -v -i -e linkdef | grep -v -e nudy -e cmsToyGV`
 
 # function to check if C++ file (based on suffix)
 # can probably be done much shorter