script/lint only on python files (#5018)

This commit is contained in:
Petr Vraník 2016-12-20 12:06:53 +01:00 committed by Johann Kellerman
parent 877efac630
commit 1aea3e0d51

View file

@ -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 "================================================="