diff --git a/test/sanity/code-smell/no-list-cmp.sh b/test/sanity/code-smell/no-list-cmp.sh index b71c112b8a..f6b84ea816 100755 --- a/test/sanity/code-smell/no-list-cmp.sh +++ b/test/sanity/code-smell/no-list-cmp.sh @@ -4,6 +4,7 @@ CMP_USERS=$(grep -rI ' cmp[^a-zA-Z0-9_:=]' . \ --exclude-dir .tox \ | grep -v \ -e lib/ansible/module_utils/six/_six.py \ + -e .git \ -e test/sanity/code-smell/no-list-cmp.sh )