summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-09-24 17:46:20 +0300
committerLars Wirzenius <liw@liw.fi>2017-09-24 18:19:32 +0300
commite19b65c2cf05cf7f220a197592ac6803d0170762 (patch)
tree7f9b7f2e3a2026e4b0b2cd0f43337691895cb8dd
parent6048e6025dc68214cc2732f6fdd713d0b66aa1c2 (diff)
downloadick2-e19b65c2cf05cf7f220a197592ac6803d0170762.tar.gz
Add: run pylint in check
-rwxr-xr-xcheck3
-rw-r--r--copyright-exceptions1
-rw-r--r--pylint.conf14
3 files changed, 18 insertions, 0 deletions
diff --git a/check b/check
index e7ec643..d410ba0 100755
--- a/check
+++ b/check
@@ -50,6 +50,9 @@ python_sources="ick_controller.py worker-manager ick2"
title pycodestyle
pycodestyle ick2 $python_sources
+title pylint
+pylint3 --rcfile pylint.conf ick2 $python_sources
+
title Yarns
yarn yarns/*.yarn \
--shell python2 \
diff --git a/copyright-exceptions b/copyright-exceptions
index 1a2a783..74c7d98 100644
--- a/copyright-exceptions
+++ b/copyright-exceptions
@@ -8,4 +8,5 @@ debian/ick2.dirs
debian/ick2.install
debian/source/format
ick2version/version.py
+pylint.conf
without-tests
diff --git a/pylint.conf b/pylint.conf
new file mode 100644
index 0000000..43750b5
--- /dev/null
+++ b/pylint.conf
@@ -0,0 +1,14 @@
+[MASTER]
+persistent=no
+
+[MESSAGES CONTROL]
+disable=
+ invalid-name,
+ missing-docstring,
+ unused-argument
+
+[REPORTS]
+reports=no
+
+[SIMILARITIES]
+min-similarity-lines=999