diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-12-08 22:14:55 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-12-09 00:25:13 +0100 |
commit | 0e9b092531247ea00840d97b4d96fbfd0395c179 (patch) | |
tree | 1c40e0112bd1f3858699c01dd98ad0e605c8a2d3 | |
parent | 31eba612f47fc19381eddc8b2fa825b56953784f (diff) | |
download | samba-0e9b092531247ea00840d97b4d96fbfd0395c179.tar.gz samba-0e9b092531247ea00840d97b4d96fbfd0395c179.tar.bz2 samba-0e9b092531247ea00840d97b4d96fbfd0395c179.zip |
Add 'make pep8' target.
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | wscript | 8 |
2 files changed, 11 insertions, 0 deletions
@@ -73,3 +73,6 @@ FORCE: pydoctor: $(WAF) pydoctor + +pep8: + $(WAF) pep8 @@ -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 |