Skip to content

Commit 177a423

Browse files
committed
don't run flake8 on the sphinxext folder.
1 parent f93349c commit 177a423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_tools/travis/flake8_diff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ echo '--------------------------------------------------------------------------
8888
# uses git 1.8.
8989
# We need the following command to exit with 0 hence the echo in case
9090
# there is no match
91-
MODIFIED_FILES=$(git diff --name-only $COMMIT | grep -v 'sklearn/externals' || echo "no_match")
91+
MODIFIED_FILES=$(git diff --name-only $COMMIT | grep -v 'sklearn/externals' | grep -v 'doc/sphinxext' || echo "no_match")
9292

9393
if [[ "$MODIFIED_FILES" == "no_match" ]]; then
9494
echo "No file outside sklearn/externals has been modified"

0 commit comments

Comments
 (0)