Skip to content

Commit 1456771

Browse files
jnecusKevin D Smith
authored and
Kevin D Smith
committed
Update code_checks.sh to check for instances of os.remove (pandas-dev#37097)
1 parent e9a00d7 commit 1456771

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/code_checks.sh

+4
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
248248
invgrep -RI --exclude=\*.{svg,c,cpp,html,js} --exclude-dir=env "\s$" *
249249
RET=$(($RET + $?)) ; echo $MSG "DONE"
250250
unset INVGREP_APPEND
251+
252+
MSG='Check code for instances of os.remove' ; echo $MSG
253+
invgrep -R --include="*.py*" --exclude "common.py" --exclude "test_writers.py" --exclude "test_store.py" -E "os\.remove" pandas/tests/
254+
RET=$(($RET + $?)) ; echo $MSG "DONE"
251255
fi
252256

253257
### CODE ###

0 commit comments

Comments
 (0)