Skip to content

Commit e43e3d1

Browse files
author
MomIsBestFriend
committed
CI: Unwanted patterns check
1 parent 8995793 commit e43e3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/code_checks.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
204204
RET=$(($RET + $?)) ; echo $MSG "DONE"
205205

206206
MSG='Check for use of ("%r" % foo) instead of {repr(foo)}' ; echo $MSG
207-
invgrep -R --include=*.{py,pyx} '%r' pandas
207+
invgrep -R --include=*.{py,pyx} -E '\s%r\s' pandas | invgrep -v '%%r'
208208
RET=$(($RET + $?)) ; echo $MSG "DONE"
209209

210210
MSG='Check for use of {foo!r} instead of {repr(foo)}' ; echo $MSG

0 commit comments

Comments
 (0)