From 1aea3e0d51cbe3b8b69a26df107d27c19e9366cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Vran=C3=ADk?= Date: Tue, 20 Dec 2016 12:06:53 +0100 Subject: [PATCH] script/lint only on python files (#5018) --- script/lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "================================================="