[tor-commits] [flashproxy/master] add a pylint phony target to be run manually

infinity0 at torproject.org infinity0 at torproject.org
Wed Nov 13 16:20:29 UTC 2013


commit 751158f9c664d99dd17edf0f616de0f80506330c
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Wed Nov 13 16:20:08 2013 +0000

    add a pylint phony target to be run manually
---
 Makefile.client |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile.client b/Makefile.client
index 3c02712..df537d5 100644
--- a/Makefile.client
+++ b/Makefile.client
@@ -81,7 +81,12 @@ distclean: clean
 maintainer-clean: distclean
 	rm -f $(DST_MAN1)
 
+# TODO(infinity0): eventually do this as part of 'check' once we have a decent
+# overrides file in place that filters out false-positives
+pylint: $(SRC_SCRIPT)
+	pylint -E $^
+
 check: $(THISFILE)
 	for i in $(TEST_PY); do $(PYTHON) "$$i"; done
 
-.PHONY: all install uninstall clean distclean maintainer-clean dist check
+.PHONY: all install uninstall clean distclean maintainer-clean dist check pylint



More information about the tor-commits mailing list