diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-03-01 04:56:42 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-03-01 04:56:42 +0100 |
commit | 8448ece9de85f0776513d03cc7542c3b2f30f4b4 (patch) | |
tree | 10e15ef663c152598173749f2499824e86c04aa4 | |
parent | 31a718aa27bcf3f56347a109f6d0bb553814c052 (diff) | |
download | samba-8448ece9de85f0776513d03cc7542c3b2f30f4b4.tar.gz samba-8448ece9de85f0776513d03cc7542c3b2f30f4b4.tar.bz2 samba-8448ece9de85f0776513d03cc7542c3b2f30f4b4.zip |
python: Add 'make pylint' convenience rule.
-rw-r--r-- | source4/scripting/python/config.mk | 5 |
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 |