From 8a4473d294f0bf521eb8e5ae9ad36a6876b42117 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 28 Feb 2015 20:55:12 -0500 Subject: Initial Commit Signed-off-by: Simo Sorce --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9f5709a --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +all: lint pep8 test + echo "All tests passed" + +lint: + # Analyze code + # don't show recommendations, info, comments, report + # W0613 - unused argument + # Ignore cherrypy class members as they are dynamically added + pylint -d c,r,i,W0613 -r n -f colorized \ + --notes= \ + ./custodia + +pep8: + # Check style consistency + pep8 custodia + +clean: + rm -fr build dist *.egg-info + find ./ -name '*.pyc' -exec rm -f {} \; + +cscope: + git ls-files | xargs pycscope + +test: + rm -f .coverage + nosetests -s -- cgit