OSDN Git Service

iotests/297: Have mypy ignore unused ignores
authorHanna Reitz <hreitz@redhat.com>
Tue, 21 Jun 2022 09:25:36 +0000 (11:25 +0200)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 11:55:24 +0000 (13:55 +0200)
commit9907dba91dbcde20a8f966c8f22ae1635c5f7e78
treeec1667ae4b8d3f78bb0586e8c249906fa586b8c6
parent1a8fd0e3e73806a5eca3384d49503e6bc50ca20d
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>
tests/qemu-iotests/mypy.ini