diff --git a/script/lint b/script/lint index 2c3739c5c13..d607aa87bb6 100755 --- a/script/lint +++ b/script/lint @@ -4,7 +4,7 @@ # performs roughly what this test did in the past. if [ "$1" = "--changed" ]; then - export files="`git diff upstream/dev --name-only | grep -v requirements_all.txt`" + export files="`git diff upstream/dev --name-only | grep -e '\.py$'`" echo "=================================================" echo "FILES CHANGED (git diff upstream/dev --name-only)" echo "================================================="