From 0e9b092531247ea00840d97b4d96fbfd0395c179 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 8 Dec 2011 22:14:55 +0100 Subject: Add 'make pep8' target. --- wscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 5ccb74d91d..18daaac08c 100755 --- 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 -- cgit