We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d404460 commit 90681afCopy full SHA for 90681af
ci/code_checks.sh
@@ -120,6 +120,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
120
invgrep -r -E --include '*.py' 'pytest\.warns' pandas/tests/
121
RET=$(($RET + $?)) ; echo $MSG "DONE"
122
123
+ MSG='Check for pytest raises without context' ; echo $MSG
124
+ invgrep -r -E --include '*.py' "[[:space:]] pytest.raises" pandas/tests/
125
+ RET=$(($RET + $?)) ; echo $MSG "DONE"
126
+
127
# Check for the following code in testing: `np.testing` and `np.array_equal`
128
MSG='Check for invalid testing' ; echo $MSG
129
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
0 commit comments