]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Python: fix flake8 config
authorJohn Snow <jsnow@redhat.com>
Sat, 3 Dec 2022 00:52:32 +0000 (19:52 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 4 Jan 2023 18:46:05 +0000 (13:46 -0500)
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 <jsnow@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Message-id: 20221203005234.620788-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/setup.cfg

index c2c61c7519046ce7bb7055485f03d62e525dca04..c0d7bab168ee51aef3f0d7cbe6d51122894651c8 100644 (file)
@@ -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]