summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-01 04:56:42 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-03-01 04:56:42 +0100
commit8448ece9de85f0776513d03cc7542c3b2f30f4b4 (patch)
tree10e15ef663c152598173749f2499824e86c04aa4 /source4/scripting/python
parent31a718aa27bcf3f56347a109f6d0bb553814c052 (diff)
downloadsamba-8448ece9de85f0776513d03cc7542c3b2f30f4b4.tar.gz
samba-8448ece9de85f0776513d03cc7542c3b2f30f4b4.tar.bz2
samba-8448ece9de85f0776513d03cc7542c3b2f30f4b4.zip
python: Add 'make pylint' convenience rule.
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 0dd248e645..c1e1c5de82 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -38,3 +38,8 @@ PYFLAKES = pyflakes
pyflakes::
$(PYFLAKES) $(pyscriptsrcdir)/samba
+
+PYLINT = pylint
+
+pylint:: pythonmods
+ PYTHONPATH=$(pyscriptsrcdir) $(PYLINT) -f parseable samba