We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2416a0 commit 0f22b77Copy full SHA for 0f22b77
ci/code_checks.sh
@@ -148,8 +148,8 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
148
invgrep -R --include="*.py" --include="*.pyx" -E "(DEPRECATED|DEPRECATE|Deprecated)(:|,|\.)" pandas
149
RET=$(($RET + $?)) ; echo $MSG "DONE"
150
151
- MSG='Check for python2 new-style classes' ; echo $MSG
152
- invgrep -R --include="*.py" --include="*.pyx" -E "class\s\S*\(object\):" pandas scripts
+ MSG='Check for python2 new-style classes and for for empty parenteses' ; echo $MSG
+ invgrep -R --include="*.py" --include="*.pyx" -E "class\s\S*\((object)?\):" pandas scripts
153
154
155
MSG='Check for backticks incorrectly rendering because of missing spaces' ; echo $MSG
0 commit comments