mbox series

[0/2] iotests: Fix pylint warnings

Message ID 20210824153540.177128-1-hreitz@redhat.com (mailing list archive)
Headers show
Series iotests: Fix pylint warnings | expand

Message

Hanna Czenczek Aug. 24, 2021, 3:35 p.m. UTC
Hi,

I’ve updated my pylint to 2.10.2 and was greeted with some new warnings.
Some are fixed by John’s “Run iotest linters during Python CI” series
(https://lists.nongnu.org/archive/html/qemu-block/2021-07/msg00611.html),
but some are not (namely unspecified-encoding, use-list-literal, and
use-dict-literal).  This series cleans up that rest.


Hanna Reitz (2):
  iotests: Fix unspecified-encoding pylint warnings
  iotests: Fix use-{list,dict}-literal warnings

 tests/qemu-iotests/297        |  2 +-
 tests/qemu-iotests/iotests.py | 12 +++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

Comments

Hanna Czenczek Sept. 7, 2021, 9:44 a.m. UTC | #1
On 24.08.21 17:35, Hanna Reitz wrote:
> Hi,
>
> I’ve updated my pylint to 2.10.2 and was greeted with some new warnings.
> Some are fixed by John’s “Run iotest linters during Python CI” series
> (https://lists.nongnu.org/archive/html/qemu-block/2021-07/msg00611.html),
> but some are not (namely unspecified-encoding, use-list-literal, and
> use-dict-literal).  This series cleans up that rest.

Thanks for the reviews, applied to my block branch:

https://github.com/XanClic/qemu/commits/block

Hanna