diff -r 408f2202bd80 -r a343eccd5ee2 contrib/check-code.py --- a/contrib/check-code.py Wed Feb 13 22:05:30 2013 +0100 +++ b/contrib/check-code.py Wed Feb 13 21:51:47 2013 +0100 @@ -105,7 +105,10 @@ "use (glob) to match Windows paths too"), ], # warnings - [] + [ + (r'^ [^*?/\n]* \(glob\)$', + "warning: glob match with no glob character (?*/)"), + ] ] for i in [0, 1]: