Skip to content

Commit 5069cdc

Browse files
Ayowoletjbrockmendel
Ayowolet
authored andcommitted
CI: Checking that the modification works on a class
1 parent a1bf64e commit 5069cdc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/code_checks.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,8 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
190190
invgrep -R --include="*.rst" ".. ipython ::" doc/source
191191
RET=$(($RET + $?)) ; echo $MSG "DONE"
192192

193-
# Check for blank lines after the class definition
194193
    MSG='Check for extra blank lines after the class definition' ; echo $MSG
195-
    invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' doc/source/
194+
    invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' .
196195
    RET=$(($RET + $?)) ; echo $MSG "DONE"
197196

198197
MSG='Check that no file in the repo contains trailing whitespaces' ; echo $MSG

0 commit comments

Comments
 (0)