contrib/check-code.py
branchstable
changeset 10658 95c7c4b7e67a
parent 10451 63a9bfad50ff
child 10702 1437542a9fd7
child 10802 6e4cf8319f54
--- a/contrib/check-code.py	Thu Mar 11 16:54:34 2010 -0600
+++ b/contrib/check-code.py	Mon Mar 08 03:07:35 2010 +0100
@@ -52,6 +52,7 @@
     (r'/bin/', "don't use explicit paths for tools"),
     (r'\$PWD', "don't use $PWD, use `pwd`"),
     (r'[^\n]\Z', "no trailing newline"),
+    (r'export.*=', "don't export and assign at once"),
 ]
 
 testfilters = [