Skip to content

python: pylint and flake8 support

John Snow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scripts/qmp: Fix shebang and importsscripts/qmp/qmp scripts/qmp/qom-fuse scripts/qmp/qom-get +3 more+22 -100 replies
2/4python/machine.py: remove bare exceptpython/qemu/machine.py+21 -120 replies
3/4python/qemu: delint and add pylintrcpython/qemu/machine.py python/qemu/pylintrc python/qemu/qtest.py+88 -180 replies
4/4python/qemu: delint; add flake8 configpython/qemu/.flake8 python/qemu/accel.py python/qemu/machine.py +1 more+19 -90 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/4
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] python: pylint and flake8 support

This is a quick series to delint the files under python/qemu, with one extra fix outside of that domain.

This was split out from my longer series attempting to package python/qemu. This part is a nice standalone chunk.

John Snow (4):
scripts/qmp: Fix shebang and imports
python/machine.py: remove bare except
python/qemu: delint and add pylintrc
python/qemu: delint; add flake8 config

 python/qemu/.flake8    |  2 ++
 python/qemu/accel.py   |  9 ++++---
 python/qemu/machine.py | 52 +++++++++++++++++++++++--------------
 python/qemu/pylintrc   | 58 ++++++++++++++++++++++++++++++++++++++++++
 python/qemu/qmp.py     |  4 +--
 python/qemu/qtest.py   | 42 +++++++++++++++++++-----------
 scripts/qmp/qmp        |  4 ++-
 scripts/qmp/qom-fuse   |  4 ++-
 scripts/qmp/qom-get    |  6 +++--
 scripts/qmp/qom-list   |  6 +++--
 scripts/qmp/qom-set    |  6 +++--
 scripts/qmp/qom-tree   |  6 +++--
 12 files changed, 150 insertions(+), 49 deletions(-)
 create mode 100644 python/qemu/.flake8
 create mode 100644 python/qemu/pylintrc
Signature · 1 line
2.21.3