author | Yuya Nishihara <yuya@tcha.org> |
Fri, 21 May 2010 22:53:57 +0900 | |
changeset 11210 | 0c0088881562 |
parent 11209 | 385b95d10410 |
child 11211 | e43c23d189a5 |
--- 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 = [