[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/5] Python: fix flake8 config
From: |
John Snow |
Subject: |
[PULL 3/5] Python: fix flake8 config |
Date: |
Wed, 4 Jan 2023 16:04:53 -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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/python/setup.cfg b/python/setup.cfg
index c2c61c75190..c0d7bab168e 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]
--
2.39.0
- [PULL 0/5] Python patches, John Snow, 2023/01/04
- [PULL 1/5] python/machine: Add debug logging to key state changes, John Snow, 2023/01/04
- [PULL 4/5] iotests/check: Fix typing for sys.exit() value, John Snow, 2023/01/04
- [PULL 2/5] python/machine: Handle termination cases without QMP, John Snow, 2023/01/04
- [PULL 3/5] Python: fix flake8 config,
John Snow <=
- [PULL 5/5] python: add 3.11 to supported list, John Snow, 2023/01/04
- Re: [PULL 0/5] Python patches, Peter Maydell, 2023/01/05