diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 784d2c9a411ab..5437692d54439 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -268,6 +268,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -RI --exclude=\*.{svg,c,cpp,html,js} --exclude-dir=env "\s$" * RET=$(($RET + $?)) ; echo $MSG "DONE" unset INVGREP_APPEND + + MSG='Check code for instances of os.remove' ; echo $MSG + invgrep -R --include="*.py*" --exclude "common.py" --exclude "test_writers.py" --exclude "test_store.py" -E "os\.remove" pandas/tests/ + RET=$(($RET + $?)) ; echo $MSG "DONE" fi ### CODE ###