summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-01-23 15:51:20 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-01-24 19:34:07 +0100
commit1574ab257ae2d19783c3e55ae660484ed88f58ca (patch)
treeb9fd649ca11acc4e45f1e8d243dc238f44535c21
parent2596ccc216ac6bcc45705472f817f6a9b8fd35f5 (diff)
downloadipsilon-1574ab257ae2d19783c3e55ae660484ed88f58ca.tar.gz
ipsilon-1574ab257ae2d19783c3e55ae660484ed88f58ca.tar.xz
ipsilon-1574ab257ae2d19783c3e55ae660484ed88f58ca.zip
Use pylint check
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7d81f00
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+all: lint
+
+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= \
+ --ignored-classes=cherrypy \
+ ./ipsilon