← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 489: integrate the pylint test as a command in Makefile : "test_pylint"

 

------------------------------------------------------------
revno: 489
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sat 2013-01-05 19:01:17 +0100
message:
  integrate the pylint test as a command in Makefile : "test_pylint"
modified:
  Makefile


--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git

Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'Makefile'
--- Makefile	2013-01-03 11:29:41 +0000
+++ Makefile	2013-01-05 18:01:17 +0000
@@ -64,6 +64,7 @@
 	@echo "dist_all \n\t to generate all distribution files for the API and \n\t the Desktop interface"
 	@echo "install_all \n\t install all interfaces on your system. don't use \n\t it unless you know what you are doing!! (deprecated)"
 	@echo "help_all \n\t generate sphinx and pydoc documentation" 
+	@echo "test_pylint \n\t run the tests of pylint on the API " 
 	
 
 ## This target englob all the targets on this makefile
@@ -421,3 +422,6 @@
 	cd $(WEB_INSTALL_PATH);  cd wui; sed -i 's/www\.alfanous\.org\/json2/alfanous\.local\/cgi\-bin\/alfanous\_json2\.py/g' index.*
 	xdg-open http://alfanous.local/ &  ##launch default browser for test
 
+
+test_pylint:
+	pylint --ignore=whoosh,dynamic_resources,mainform_ui.py src -f colorized | more