From 952b45a3a44929e325579211502ab020eea27786 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: May 24 2018 07:54:26 +0000 Subject: Travis: ignore 'line break after binary operator' Reviewed-By: Christian Heimes --- diff --git a/.travis_run_task.sh b/.travis_run_task.sh index d3a9cd5..61d6550 100755 --- a/.travis_run_task.sh +++ b/.travis_run_task.sh @@ -38,8 +38,9 @@ if [[ "$TASK_TO_RUN" == "lint" ]] then if [[ "$TRAVIS_EVENT_TYPE" == "pull_request" ]] then - git diff origin/$TRAVIS_BRANCH -U0 | pycodestyle --diff &> $PEP8_ERROR_LOG ||: - fi + git diff origin/$TRAVIS_BRANCH -U0 | \ + pycodestyle --ignore=W504 --diff &> $PEP8_ERROR_LOG ||: + fi fi if [[ -n "$TESTS_TO_RUN" ]]