File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -122,13 +122,18 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
122
122
# Check for imports from collections.abc instead of `from collections import abc`
123
123
MSG=' Check for non-standard imports' ; echo $MSG
124
124
invgrep -R --include=" *.py*" -E " from pandas.core.common import" pandas
125
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
125
126
invgrep -R --include=" *.py*" -E " from pandas.core import common" pandas
127
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
126
128
invgrep -R --include=" *.py*" -E " from collections.abc import" pandas
129
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
127
130
invgrep -R --include=" *.py*" -E " from numpy import nan" pandas
131
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
128
132
129
133
# Checks for test suite
130
134
# Check for imports from pandas.util.testing instead of `import pandas.util.testing as tm`
131
135
invgrep -R --include=" *.py*" -E " from pandas.util.testing import" pandas/tests
136
+ RET=$(( $RET + $? )) ; echo $MSG " DONE"
132
137
invgrep -R --include=" *.py*" -E " from pandas.util import testing as tm" pandas/tests
133
138
RET=$(( $RET + $? )) ; echo $MSG " DONE"
134
139
You can’t perform that action at this time.
0 commit comments