From: John Snow Date: Wed, 15 Sep 2021 16:29:46 +0000 (-0400) Subject: python/pylint: disable no-member check X-Git-Tag: qemu-xen-4.17.0-rc4~312^2~14 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4cd17f375daaa73f0f6fd214e08e2290d86c24be;p=qemu-xen.git 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 Message-id: 20210915162955.333025-19-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/python/setup.cfg b/python/setup.cfg index 70957ab7e4..e6407e0582 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -90,6 +90,7 @@ ignore_missing_imports = True # --disable=W". disable=consider-using-f-string, too-many-function-args, # mypy handles this with less false positives. + no-member, # mypy also handles this better. [pylint.basic] # Good variable names which should always be accepted, separated by a comma.