python/pylint: disable no-member check

mypy handles this better -- but we only need the workaround because
pylint under Python 3.6 does not understand that a MutableMapping really
does have a .get() method attached.

We could remove this again once 3.7 is our minimum.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210915162955.333025-19-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
John Snow 2021-09-15 12:29:46 -04:00
parent c67d696b85
commit 4cd17f375d

View File

@ -90,6 +90,7 @@ ignore_missing_imports = True
# --disable=W". # --disable=W".
disable=consider-using-f-string, disable=consider-using-f-string,
too-many-function-args, # mypy handles this with less false positives. too-many-function-args, # mypy handles this with less false positives.
no-member, # mypy also handles this better.
[pylint.basic] [pylint.basic]
# Good variable names which should always be accepted, separated by a comma. # Good variable names which should always be accepted, separated by a comma.