aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-09-15 12:29:46 -0400
committerJohn Snow <jsnow@redhat.com>2021-09-27 12:10:29 -0400
commit4cd17f375daaa73f0f6fd214e08e2290d86c24be (patch)
tree3fb75ab3388cc18683b9bc50e81f99752f978bea /python
parentc67d696b8592a85ba32dfdc1fc7449fa9b327e29 (diff)
downloadqemu-4cd17f375daaa73f0f6fd214e08e2290d86c24be.zip
qemu-4cd17f375daaa73f0f6fd214e08e2290d86c24be.tar.gz
qemu-4cd17f375daaa73f0f6fd214e08e2290d86c24be.tar.bz2
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>
Diffstat (limited to 'python')
-rw-r--r--python/setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/setup.cfg b/python/setup.cfg
index 70957ab..e6407e0 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.