Re: [PATCH RFC 05/32] python/qemu/lib: delint; add flake8 config

2020-05-31 Thread Philippe Mathieu-Daudé
On 5/14/20 7:53 AM, John Snow wrote: > 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 > --- > python/qemu/lib/.flake8| 2 ++ > python/qemu/

Re: [PATCH RFC 05/32] python/qemu/lib: delint; add flake8 config

2020-05-26 Thread Philippe Mathieu-Daudé
On 5/14/20 7:53 AM, John Snow wrote: > 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 > --- > python/qemu/lib/.flake8| 2 ++ > python/qemu/

[PATCH RFC 05/32] python/qemu/lib: delint; add flake8 config

2020-05-13 Thread John Snow
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 --- python/qemu/lib/.flake8| 2 ++ python/qemu/lib/accel.py | 9 ++--- python/qemu/lib/machin