Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Make flake8 ignore parse errors in docs directory
Browse files Browse the repository at this point in the history
The docs directory is currently parsed by flake8 causing build
errors. This change just makes the docs dir ignored for travis
flake8 tests.
  • Loading branch information
Niall Creech committed Feb 17, 2017
1 parent 086004e commit f04bf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,7 @@ script:
set -e -o pipefail;
if [ "$TRAVIS_PULL_REQUEST" != "false" ]
then git diff $TRAVIS_COMMIT_RANGE | flake8 --diff;
else git fetch -q origin master:origin/master && git diff origin/master... | flake8 --diff
else git fetch -q origin master:origin/master && git diff origin/master... !(docs) | flake8 --diff
fi
# Then run the tests
Expand Down

0 comments on commit f04bf24

Please sign in to comment.