diff options
author | John Snow <jsnow@redhat.com> | 2022-12-02 19:52:32 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2023-01-04 13:46:05 -0500 |
commit | 745d58f77d5f951a220a595c73ae30154ed0d50a (patch) | |
tree | 4c0e6de10842cf7f6f5a29d5a6e1e9ffc1bab4e3 /python/setup.cfg | |
parent | 3c6e5e8ce13dc3bf286ff977a7806f2b342dfdab (diff) | |
download | qemu-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/setup.cfg')
-rw-r--r-- | python/setup.cfg | 3 |
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] |