contrib/check-code.py
changeset 18683 a343eccd5ee2
parent 18575 667063b22a69
child 18762 a91387a37f05
--- 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]: