We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40bf02 commit 6f45304Copy full SHA for 6f45304
ci/code_checks.sh
@@ -179,6 +179,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
179
invgrep -R --include="*.py" -E "super\(\w*, (self|cls)\)" pandas
180
RET=$(($RET + $?)) ; echo $MSG "DONE"
181
182
+ MSG='Check for use of builtin filter function' ; echo $MSG
183
+ invgrep -R --include="*.py" -P '(?<!def)[\(\s]filter\(' pandas
184
+ RET=$(($RET + $?)) ; echo $MSG "DONE"
185
+
186
# Check for the following code in testing: `np.testing` and `np.array_equal`
187
MSG='Check for invalid testing' ; echo $MSG
188
invgrep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
0 commit comments