Skip to content

Commit 1593023

Browse files
alimcmaster1datapythonista
authored andcommitted
Ensure return status is handled correctly (#30457)
1 parent e81faa1 commit 1593023

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/code_checks.sh

+5
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,18 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
122122
# Check for imports from collections.abc instead of `from collections import abc`
123123
MSG='Check for non-standard imports' ; echo $MSG
124124
invgrep -R --include="*.py*" -E "from pandas.core.common import" pandas
125+
RET=$(($RET + $?)) ; echo $MSG "DONE"
125126
invgrep -R --include="*.py*" -E "from pandas.core import common" pandas
127+
RET=$(($RET + $?)) ; echo $MSG "DONE"
126128
invgrep -R --include="*.py*" -E "from collections.abc import" pandas
129+
RET=$(($RET + $?)) ; echo $MSG "DONE"
127130
invgrep -R --include="*.py*" -E "from numpy import nan" pandas
131+
RET=$(($RET + $?)) ; echo $MSG "DONE"
128132

129133
# Checks for test suite
130134
# Check for imports from pandas.util.testing instead of `import pandas.util.testing as tm`
131135
invgrep -R --include="*.py*" -E "from pandas.util.testing import" pandas/tests
136+
RET=$(($RET + $?)) ; echo $MSG "DONE"
132137
invgrep -R --include="*.py*" -E "from pandas.util import testing as tm" pandas/tests
133138
RET=$(($RET + $?)) ; echo $MSG "DONE"
134139

0 commit comments

Comments
 (0)