contrib/check-code.py
changeset 11210 0c0088881562
parent 10905 13a1b2fb7ef2
child 11341 920a783e5f91
--- a/contrib/check-code.py	Fri May 21 14:21:27 2010 +0200
+++ b/contrib/check-code.py	Fri May 21 22:53:57 2010 +0900
@@ -61,6 +61,7 @@
     (r'[^\n]\Z', "no trailing newline"),
     (r'export.*=', "don't export and assign at once"),
     ('^([^"\']|("[^"]*")|(\'[^\']*\'))*\\^', "^ must be quoted"),
+    (r'^source\b', "don't use 'source', use '.'"),
 ]
 
 testfilters = [