From: John Snow Date: Sat, 3 Dec 2022 00:52:32 +0000 (-0500) Subject: Python: fix flake8 config X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=745d58f77d5f951a220a595c73ae30154ed0d50a;p=qemu.git Python: fix flake8 config Newer flake8 versions are a bit pickier about the config file, and my in-line comment confuses the parser. Fix it. Signed-off-by: John Snow Reviewed-by: Wilfred Mallawa Message-id: 20221203005234.620788-2-jsnow@redhat.com Signed-off-by: John Snow --- diff --git a/python/setup.cfg b/python/setup.cfg index c2c61c7519..c0d7bab168 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -71,7 +71,8 @@ console_scripts = qmp-tui = qemu.qmp.qmp_tui:main [tui] [flake8] -extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's +# Prefer pylint's bare-except checks to flake8's +extend-ignore = E722 exclude = __pycache__, [mypy]