Skip to content

Python: delint python library

John Snow qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesIn review
  2. v110 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- iotest bits already handled, dropped here.
- Changed patch #3 based on feedback from Wainer.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6python/console_socket: avoid one-letter variablepython/qemu/console_socket.py+5 -50 replies
2/6python/machine: use subprocess.DEVNULL instead of open(os.path.devnull)python/qemu/machine.py+2 -41 reply
3/6python/machine: use subprocess.run instead of subprocess.Popenpython/qemu/machine.py+9 -61 reply
4/6python/console_socket: Add a pylint ignorepython/qemu/console_socket.py+1 -01 reply
5/6python/machine: Disable pylint warning for open() in _pre_launchpython/qemu/machine.py+5 -11 reply
6/6python/machine: disable warning for Popen in _launch()python/qemu/machine.py+3 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchWainer dos Santos MoschettaCleber RosaPhilippe Mathieu-Daudé
1/6R-b R-b
2/6R-b R-b
3/6R-b T-b
4/6R-b
5/6R-b R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] Python: delint python library

gitlab CI: https://gitlab.com/jsnow/qemu/-/pipelines/304224309
branch: https://gitlab.com/jsnow/qemu/-/commits/python-package-pre-cleanup

This series serves as a pre-requisite for packaging the python series and getting the linters running via CI. The first patch fixes a linter error we've had for a while now; the subsequent ones fix a new warning that was recently added to pylint 2.8.x.

V2:
- iotest bits already handled, dropped here.
- Changed patch #3 based on feedback from Wainer.

John Snow (6):
python/console_socket: avoid one-letter variable python/machine: use subprocess.DEVNULL instead of
open(os.path.devnull)
python/machine: use subprocess.run instead of subprocess.Popen python/console_socket: Add a pylint ignore python/machine: Disable pylint warning for open() in _pre_launch python/machine: disable warning for Popen in _launch()

 python/qemu/console_socket.py | 11 ++++++-----
 python/qemu/machine.py        | 28 ++++++++++++++++++----------
 2 files changed, 24 insertions(+), 15 deletions(-)
Signature · 1 line
2.30.2