summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-04-18 18:51:24 +0300
committerLars Wirzenius <liw@liw.fi>2015-04-18 18:51:24 +0300
commit81dcb7bdb96a95962b66671dc4a918c41e7a8aec (patch)
tree0b66535700d3757e80535a939d76beb77f0b3217
parent3785fdf3eb71c2f190bb01fb0826184b905d8b37 (diff)
downloadttystatus-81dcb7bdb96a95962b66671dc4a918c41e7a8aec.tar.gz
Run pylint in check
-rw-r--r--Makefile1
-rw-r--r--pylint.conf28
2 files changed, 29 insertions, 0 deletions
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