Skip to content

Commit 22ea12f

Browse files
author
Guillaume Lemaitre
committed
Only check the python file in example
1 parent 5809000 commit 22ea12f

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
@@ -116,6 +116,6 @@ echo '--------------------------------------------------------------------------
116116
# Check the imblearn folder
117117
git diff --unified=0 $COMMIT_RANGE -- 'imblearn' | flake8 --diff --show-source
118118
# Check the example folder
119-
git diff --unified=0 $COMMIT_RANGE -- 'examples' | flake8 --diff --show-source --ignore=E402
119+
git diff --unified=0 $COMMIT_RANGE -- 'examples/*.py' | flake8 --diff --show-source --ignore=E402
120120

121121
echo -e "No problem detected by flake8\n"

0 commit comments

Comments
 (0)