qapi/gen.py: add type hint annotations
commit17d40c395748dab4cd579d698b89ba6f51ffb692
authorJohn Snow <jsnow@redhat.com>
Fri, 9 Oct 2020 16:15:49 +0000 (9 12:15 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 10 Oct 2020 09:37:48 +0000 (10 11:37 +0200)
tree657933479bfcf668f1bf03c2133e03bc739bfcf5
parent3ae1c848516d92531a73f2e7f1799c3572f680c5
qapi/gen.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-28-jsnow@redhat.com>
Message-Id: <20201009161558.107041-29-jsnow@redhat.com>
[mypy.ini update squashed in]
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/gen.py
scripts/qapi/mypy.ini