summaryrefslogtreecommitdiff
path: root/pylint.conf
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-01-15 16:28:51 +0200
committerLars Wirzenius <liw@liw.fi>2016-01-15 17:15:40 +0200
commit0f3ee37fe5816d8cc073a0439b98160a2ef48698 (patch)
tree894b708d2127b9d9373cd316bf0852c47a548f49 /pylint.conf
parent5204d12c6c540b99f420d09a4bab4f4a974dc068 (diff)
downloadobnam-0f3ee37fe5816d8cc073a0439b98160a2ef48698.tar.gz
Disable pylint checks that go wrong
Some tests re-define methods in objects, by monkey patching, to mock them. The redefined-variable-type warning trips on that. The fsck task structure is complicated, and pylint fails to understand it correctly, resulting it reporting a bunch of errors wrongly.
Diffstat (limited to 'pylint.conf')
-rw-r--r--pylint.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint.conf b/pylint.conf
index fdab256e..146a84ee 100644
--- a/pylint.conf
+++ b/pylint.conf
@@ -15,6 +15,7 @@ disable=
missing-docstring,
no-self-use,
protected-access,
+ redefined-variable-type,
star-args,
too-few-public-methods,
too-many-arguments,
@@ -25,6 +26,8 @@ disable=
too-many-public-methods,
too-many-statements,
unidiomatic-typecheck,
+ unsubscriptable-object,
+ unsupported-membership-test,
unused-argument
[REPORTS]