[PATCH 0/2] iotests: Fix pylint warnings

Hanna Reitz posted 2 patches 2 years, 8 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210824153540.177128-1-hreitz@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/297        |  2 +-
tests/qemu-iotests/iotests.py | 12 +++++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
[PATCH 0/2] iotests: Fix pylint warnings
Posted by Hanna Reitz 2 years, 8 months ago
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(-)

-- 
2.31.1


Re: [PATCH 0/2] iotests: Fix pylint warnings
Posted by Hanna Reitz 2 years, 7 months ago
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