aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHanna Reitz <hreitz@redhat.com>2022-06-21 11:25:36 +0200
committerHanna Reitz <hreitz@redhat.com>2022-07-12 13:55:24 +0200
commit9907dba91dbcde20a8f966c8f22ae1635c5f7e78 (patch)
treeec1667ae4b8d3f78bb0586e8c249906fa586b8c6 /tests
parent1a8fd0e3e73806a5eca3384d49503e6bc50ca20d (diff)
downloadqemu-9907dba91dbcde20a8f966c8f22ae1635c5f7e78.zip
qemu-9907dba91dbcde20a8f966c8f22ae1635c5f7e78.tar.gz
qemu-9907dba91dbcde20a8f966c8f22ae1635c5f7e78.tar.bz2
iotests/297: Have mypy ignore unused ignores
e7874a50ff3f5b20fb46f36958ad ("python: update for mypy 0.950") has added `warn_unused_ignores = False` to python/setup.cfg, to be able to keep compatibility with both pre- and post-0.950 mypy versions. The iotests' mypy.ini needs the same, or 297 will fail (on both pre- and post-0.950 mypy, as far as I can tell; just for different `ignore` lines). Signed-off-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220621092536.19837-1-hreitz@redhat.com> Acked-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/mypy.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/mypy.ini b/tests/qemu-iotests/mypy.ini
index 4c0339f..d66ffc2 100644
--- a/tests/qemu-iotests/mypy.ini
+++ b/tests/qemu-iotests/mypy.ini
@@ -9,4 +9,4 @@ no_implicit_optional = True
scripts_are_modules = True
warn_redundant_casts = True
warn_unused_configs = True
-warn_unused_ignores = True
+warn_unused_ignores = False