summaryrefslogtreecommitdiffstats
path: root/pylint_plugins.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-05-25 18:12:57 +0200
committerMartin Basti <mbasti@redhat.com>2016-05-27 09:24:30 +0200
commitaa4123d852d81b908cd18208577bb509fff08c5b (patch)
tree975ae49d972e1738fa3825d793d81d52e4957a96 /pylint_plugins.py
parent8f356a4305a9aa74aacae36806d6e8ed1b765245 (diff)
downloadfreeipa-aa4123d852d81b908cd18208577bb509fff08c5b.tar.gz
freeipa-aa4123d852d81b908cd18208577bb509fff08c5b.tar.xz
freeipa-aa4123d852d81b908cd18208577bb509fff08c5b.zip
fix pylint false positive errors
pylint 1.5 reports 'kw' as 'no-member' for PublicError and PublicMessage. It is false positive in both cases. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'pylint_plugins.py')
-rw-r--r--pylint_plugins.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint_plugins.py b/pylint_plugins.py
index 7460d9f4a..631d85ab1 100644
--- a/pylint_plugins.py
+++ b/pylint_plugins.py
@@ -114,6 +114,7 @@ ipa_class_members = {
'ipalib.errors.PublicError': [
'msg',
'strerror',
+ 'kw',
],
'ipalib.errors.SingleMatchExpected': [
'found',
@@ -128,6 +129,7 @@ ipa_class_members = {
'msg',
'strerror',
'type',
+ 'kw',
],
'ipalib.parameters.Param': [
'cli_name',