From 89c8ad1d982fc7a91bf685fb356fbc2205faa450 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Mon, 18 Nov 2019 02:45:13 +0000 Subject: [PATCH] CI: Fixing error in code checks in GitHub actions --- ci/code_checks.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index d5566c522ac64..edd8fcd418c47 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -190,9 +190,9 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -R --include="*.rst" ".. ipython ::" doc/source RET=$(($RET + $?)) ; echo $MSG "DONE" -    MSG='Check for extra blank lines after the class definition' ; echo $MSG -    invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' . -    RET=$(($RET + $?)) ; echo $MSG "DONE" + MSG='Check for extra blank lines after the class definition' ; echo $MSG + invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' . + RET=$(($RET + $?)) ; echo $MSG "DONE" MSG='Check that no file in the repo contains trailing whitespaces' ; echo $MSG set -o pipefail