mirror of
https://github.com/qemu/qemu.git
synced 2025-07-29 06:26:06 +00:00

Annotations do not change runtime behavior. This commit *only* adds annotations. Note: __init__ does not need its return type annotated, as it is special. https://mypy.readthedocs.io/en/stable/class_basics.html#annotating-init-methods Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20201009161558.107041-20-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
56 lines
1.2 KiB
INI
56 lines
1.2 KiB
INI
[mypy]
|
|
strict = True
|
|
strict_optional = False
|
|
disallow_untyped_calls = False
|
|
python_version = 3.6
|
|
|
|
[mypy-qapi.commands]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[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.gen]
|
|
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
|
|
|
|
[mypy-qapi.source]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[mypy-qapi.types]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|
|
|
|
[mypy-qapi.visit]
|
|
disallow_untyped_defs = False
|
|
disallow_incomplete_defs = False
|
|
check_untyped_defs = False
|