diff options
author | Simo Sorce <simo@redhat.com> | 2015-02-28 20:55:12 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-03-04 11:22:29 -0500 |
commit | 8a4473d294f0bf521eb8e5ae9ad36a6876b42117 (patch) | |
tree | f5b4a1351efc339b5b5214f2fdde8d2b01635c05 /Makefile | |
download | custodia-8a4473d294f0bf521eb8e5ae9ad36a6876b42117.tar.gz custodia-8a4473d294f0bf521eb8e5ae9ad36a6876b42117.tar.xz custodia-8a4473d294f0bf521eb8e5ae9ad36a6876b42117.zip |
Initial Commit
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
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 |