From 952b45a3a44929e325579211502ab020eea27786 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Wed, 23 May 2018 15:03:54 +0200 Subject: [PATCH] Travis: ignore 'line break after binary operator' Reviewed-By: Christian Heimes --- .travis_run_task.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis_run_task.sh b/.travis_run_task.sh index d3a9cd5ed..61d655088 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" ]]