9907dba91d
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>
13 lines
325 B
INI
13 lines
325 B
INI
[mypy]
|
|
disallow_any_generics = True
|
|
disallow_incomplete_defs = True
|
|
disallow_subclassing_any = True
|
|
disallow_untyped_decorators = True
|
|
implicit_reexport = False
|
|
namespace_packages = True
|
|
no_implicit_optional = True
|
|
scripts_are_modules = True
|
|
warn_redundant_casts = True
|
|
warn_unused_configs = True
|
|
warn_unused_ignores = False
|