aboutsummaryrefslogtreecommitdiff
path: root/python/setup.cfg
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2022-05-25 20:09:13 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-06 09:26:54 +0200
commite7874a50ff3f5b20fb46f36958ad88334e4d55cd (patch)
tree0de33531bf3a842e262238509ed3ce762f2d3431 /python/setup.cfg
parentd7caf13b5fcf742e5680c1d3448ba070fc811644 (diff)
downloadqemu-e7874a50ff3f5b20fb46f36958ad88334e4d55cd.zip
qemu-e7874a50ff3f5b20fb46f36958ad88334e4d55cd.tar.gz
qemu-e7874a50ff3f5b20fb46f36958ad88334e4d55cd.tar.bz2
python: update for mypy 0.950
typeshed (included in mypy) recently updated to improve the typing for WriteTransport objects. I was working around this, but now there's a version where I shouldn't work around it. Unfortunately this creates some minor ugliness if I want to support both pre- and post-0.950 versions. For now, for my sanity, just disable the unused-ignores warning. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220526000921.1581503-2-jsnow@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/setup.cfg')
-rw-r--r--python/setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/setup.cfg b/python/setup.cfg
index e877ea5..c2c61c7 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -79,6 +79,7 @@ strict = True
python_version = 3.6
warn_unused_configs = True
namespace_packages = True
+warn_unused_ignores = False
[mypy-qemu.utils.qom_fuse]
# fusepy has no type stubs: