qemu-e2k/python/qemu/qmp
John Snow aef633e765 python: support pylint 2.16
Pylint 2.16 adds a few new checks that cause the optional check-tox CI
job to fail.

1. The superfluous-parens check seems to be a bit more aggressive,
2. broad-exception-raised is new; it discourages "raise Exception".

Fix these minor issues and turn the lights green.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Message-id: 20230210003147.1309376-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2023-02-22 23:35:03 -05:00
..
__init__.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
error.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
events.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
legacy.py python/qmp/legacy: make QEMUMonitorProtocol accept a socket 2023-01-24 13:37:13 -05:00
message.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
models.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
protocol.py python: support pylint 2.16 2023-02-22 23:35:03 -05:00
py.typed python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
qmp_client.py python: support pylint 2.16 2023-02-22 23:35:03 -05:00
qmp_shell.py python: rename qemu.aqmp to qemu.qmp 2022-04-21 11:01:00 -04:00
qmp_tui.py Fix some typos 2023-01-24 13:37:12 -05:00
util.py python: update for mypy 0.950 2022-06-06 09:26:54 +02:00