From 81dcb7bdb96a95962b66671dc4a918c41e7a8aec Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 18 Apr 2015 18:51:24 +0300 Subject: Run pylint in check --- Makefile | 1 + pylint.conf | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 pylint.conf diff --git a/Makefile b/Makefile index 5e6c1ca..274102f 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ check: python -m CoverageTestRunner --ignore-missing-from=without-tests rm .coverage pep8 ttystatus + pylint --rcfile=pylint.conf ttystatus clean: rm -f .coverage ttystatus/*.py[co] diff --git a/pylint.conf b/pylint.conf new file mode 100644 index 0000000..b36b2aa --- /dev/null +++ b/pylint.conf @@ -0,0 +1,28 @@ +[MASTER] +persistent=no + +[MESSAGES CONTROL] +disable= + attribute-defined-outside-init, + bad-builtin, + blacklisted-name, + cyclic-import, + invalid-name, + missing-docstring, + no-self-use, + protected-access, + star-args, + too-few-public-methods, + too-many-arguments, + too-many-branches, + too-many-instance-attributes, + too-many-locals, + too-many-public-methods, + too-many-statements, + unused-argument + +[REPORTS] +reports=no + +[SIMILARITIES] +min-similarity-lines=999 -- cgit v1.2.1