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