python/qemu: delint; add flake8 config
authorJohn Snow <jsnow@redhat.com>
Thu, 28 May 2020 22:21:29 +0000 (18:21 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 31 May 2020 16:25:30 +0000 (18:25 +0200)
commit8dfac2edb2146d87b25543c70e25723f3d4dbd60
treeb5906c7db9efff8a51790e2fb2fe1d2f9b11e8d0
parent9b8ccd6d5b81f10436764bf7e334e087f3918d12
python/qemu: delint; add flake8 config

Mostly, ignore the "no bare except" rule, because flake8 is not
contextual and cannot determine if we re-raise. Pylint can, though, so
always prefer pylint for that.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200528222129.23826-5-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
python/qemu/.flake8 [new file with mode: 0644]
python/qemu/accel.py
python/qemu/machine.py
python/qemu/qmp.py