qemu/scripts/qmp
John Snow 30ec845c59 scripts/qom-fuse: add static type hints
Because fusepy does not have type hints, add some targeted warning
suppressions.

Namely, we need to allow subclassing something of an unknown type (in
qom_fuse.py), and we need to allow missing imports (recorded against
fuse itself) because mypy will be unable to import fusepy (even when
installed) as it has no types nor type stubs available.

Note: Until now, it was possible to run invocations like 'mypy qemu/'
from ./python and have that work. However, these targeted suppressions
require that you run 'mypy -p qemu/' instead. The correct, canonical
invocation is recorded in ./python/tests/mypy.sh and all of the various
CI invocations always use this correct form.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210603003719.1321369-16-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2021-06-18 16:10:06 -04:00
..
qemu-ga-client docs: update to show preferred boolean syntax for -chardev 2021-02-25 14:14:33 +01:00
qmp scripts/qmp: delete 'qmp' script 2020-10-27 11:11:06 +01:00
qmp-shell python/qmp: add parse_address classmethod 2021-06-18 16:10:06 -04:00
qom-fuse scripts/qom-fuse: add static type hints 2021-06-18 16:10:06 -04:00
qom-get scripts/qmp: redirect qom-xxx scripts to python/qemu/qmp/ 2021-06-18 16:10:06 -04:00
qom-list scripts/qmp: redirect qom-xxx scripts to python/qemu/qmp/ 2021-06-18 16:10:06 -04:00
qom-set scripts/qmp: redirect qom-xxx scripts to python/qemu/qmp/ 2021-06-18 16:10:06 -04:00
qom-tree scripts/qmp: redirect qom-xxx scripts to python/qemu/qmp/ 2021-06-18 16:10:06 -04:00