qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/7] python: support pylint 2.16


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/7] python: support pylint 2.16
Date: Thu, 9 Feb 2023 17:01:13 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.2

On 9/2/23 16:40, John Snow wrote:
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>
---
  python/qemu/qmp/protocol.py                            | 2 +-
  python/qemu/qmp/qmp_client.py                          | 2 +-
  python/qemu/utils/qemu_ga_client.py                    | 6 +++---
  tests/qemu-iotests/iotests.py                          | 4 ++--
  tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test | 2 +-
  5 files changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]