From e19b65c2cf05cf7f220a197592ac6803d0170762 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 24 Sep 2017 17:46:20 +0300 Subject: Add: run pylint in check --- check | 3 +++ copyright-exceptions | 1 + pylint.conf | 14 ++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 pylint.conf 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 -- cgit v1.2.1