qapi/visit.py: add type hint annotations
commitb4c0aa59aff520e2a55edd5fef393058ca6520de
authorJohn Snow <jsnow@redhat.com>
Fri, 9 Oct 2020 16:15:58 +0000 (9 12:15 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 10 Oct 2020 09:37:49 +0000 (10 11:37 +0200)
treeac125ac0e93003ebf5894f3f73495da436e373e7
parent2cc1eefb84c9608661889f4deffe89f1c9aef6bb
qapi/visit.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>
Tested-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20201009161558.107041-37-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/mypy.ini
scripts/qapi/visit.py