1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

Add 'make pep8' target.

This commit is contained in:
Jelmer Vernooij 2011-12-08 22:14:55 +01:00
parent 31eba612f4
commit 0e9b092531
2 changed files with 11 additions and 0 deletions

View File

@ -73,3 +73,6 @@ FORCE:
pydoctor:
$(WAF) pydoctor
pep8:
$(WAF) pep8

View File

@ -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