python/qemu: Add mypy type annotations
commitf12a282ff4728c8b66435eaddde589db41745beb
authorJohn Snow <jsnow@redhat.com>
Tue, 6 Oct 2020 23:58:08 +0000 (6 19:58 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 20 Oct 2020 13:37:57 +0000 (20 09:37 -0400)
treec48a7857e616a5c30da5bd4ca0ba0e28d4fe95d6
parent090744d552e18e600bf6d3c896a52d4846aa3e53
python/qemu: Add mypy type annotations

These should all be purely annotations with no changes in behavior at
all. You need to be in the python folder, but you should be able to
confirm that these annotations are correct (or at least self-consistent)
by running `mypy --strict qemu`.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20201006235817.3280413-12-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/accel.py
python/qemu/machine.py
python/qemu/qmp.py
python/qemu/qtest.py