s3-rpc_server remove unused header
[mat/samba.git] / wscript
diff --git a/wscript b/wscript
index 5ccb74d91dbae36666176f414fd372ff476261b5..18daaac08cdf9ba37f7949e109dacffaf7306142 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -152,6 +152,14 @@ def pydoctor(ctx):
     print("Running: %s" % cmd)
     os.system(cmd)
 
+
+def pep8(ctx):
+    '''run pep8 validator'''
+    cmd='PYTHONPATH=bin/python pep8 -r bin/python/samba'
+    print("Running: %s" % cmd)
+    os.system(cmd)
+
+
 def wafdocs(ctx):
     '''build wafsamba apidocs'''
     from samba_utils import recursive_dirlist