c51172667b
In the modules that we are checking so far, we can be stricter about the difference between Optional[T] and T types. Enable that check. Enabling it now will assist review on further typing and cleanup work. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20210201193747.2169670-17-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
30 lines
624 B
INI
30 lines
624 B
INI
[mypy]
|
|
strict = True
|
|
disallow_untyped_calls = False
|
|
python_version = 3.6
|
|
|
|
[mypy-qapi.error]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[mypy-qapi.expr]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[mypy-qapi.introspect]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[mypy-qapi.parser]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[mypy-qapi.schema]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|