aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2022-12-02 19:52:32 -0500
committerJohn Snow <jsnow@redhat.com>2023-01-04 13:46:05 -0500
commit745d58f77d5f951a220a595c73ae30154ed0d50a (patch)
tree4c0e6de10842cf7f6f5a29d5a6e1e9ffc1bab4e3 /python
parent3c6e5e8ce13dc3bf286ff977a7806f2b342dfdab (diff)
downloadqemu-745d58f77d5f951a220a595c73ae30154ed0d50a.zip
qemu-745d58f77d5f951a220a595c73ae30154ed0d50a.tar.gz
qemu-745d58f77d5f951a220a595c73ae30154ed0d50a.tar.bz2
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 <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>
Diffstat (limited to 'python')
-rw-r--r--python/setup.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/setup.cfg b/python/setup.cfg
index c2c61c7..c0d7bab 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]