qapi/types.py: add type hint annotations
commitcd073c8fb0e86f135dbc573c2651863867183a75
authorJohn Snow <jsnow@redhat.com>
Fri, 9 Oct 2020 16:15:54 +0000 (9 12:15 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 10 Oct 2020 09:37:49 +0000 (10 11:37 +0200)
tree97fb42ae9d06e93e7725cda01eea341fed746371
parent9abddb5be44245e8529a8c132a16176fc63d0df6
qapi/types.py: add type hint annotations

Annotations do not change runtime behavior.
This commit *only* adds annotations.

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-33-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/mypy.ini
scripts/qapi/types.py