From 84f522b6fbc1ccd6a0628c9bd32e103f826abcc1 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Sun, 7 May 2017 15:04:16 +0100 Subject: [PATCH] Ignoring rst and ipynb file in Travis flake8 validations --- continuous_integration/travis/flake8_diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continuous_integration/travis/flake8_diff.sh b/continuous_integration/travis/flake8_diff.sh index 119e383fa6..3dc77a628d 100755 --- a/continuous_integration/travis/flake8_diff.sh +++ b/continuous_integration/travis/flake8_diff.sh @@ -133,6 +133,6 @@ check_files() { if [[ "$MODIFIED_FILES" == "no_match" ]]; then echo "No file has been modified" else - check_files "$(echo "$MODIFIED_FILES" )" "--ignore=E501,E731,E12,W503 --exclude=*.sh,*.md,*.yml" + check_files "$(echo "$MODIFIED_FILES" )" "--ignore=E501,E731,E12,W503 --exclude=*.sh,*.md,*.yml,*.rst,*.ipynb" fi echo -e "No problem detected by flake8\n"