scripts/qmp-shell: add mypy types
commit1eab88723c4c8c18cd67b4cad88dbbccf5916061
authorJohn Snow <jsnow@redhat.com>
Mon, 7 Jun 2021 20:06:34 +0000 (7 16:06 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:07 +0000 (18 16:10 -0400)
tree65f6564429371b1505b4619b95715d3f88e9e5c2
parent1acde76328de10beff07c7f1c8146af72813ecd7
scripts/qmp-shell: add mypy types

As per my usual, this patch is annotations only. Any changes with side
effects are done elsewhere.

Note: pylint does not understand the subscripts for Collection in Python 3.6,
so use the stronger Sequence type as a workaround.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210607200649.1840382-28-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qmp-shell