We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a0fe8 commit da6998bCopy full SHA for da6998b
ci/code_checks.sh
@@ -200,6 +200,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
200
invgrep -R --include="*.py" --include="*.pyx" -E 'class.*:\n\n( )+"""' .
201
RET=$(($RET + $?)) ; echo $MSG "DONE"
202
203
+ MSG='Check for use of {foo!r} instead of {repr(foo)}' ; echo $MSG
204
+ invgrep -R --include=*.{py,pyx} '!r}' pandas
205
+ RET=$(($RET + $?)) ; echo $MSG "DONE"
206
+
207
MSG='Check for use of comment-based annotation syntax' ; echo $MSG
208
invgrep -R --include="*.py" -P '# type: (?!ignore)' pandas
209
0 commit comments