Skip to content

Commit

Permalink
Python: fix flake8 config
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Wilfred Mallawa <[email protected]>
Message-id: [email protected]
Signed-off-by: John Snow <[email protected]>
  • Loading branch information
jnsnow committed Jan 4, 2023
1 parent 3c6e5e8 commit 745d58f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 745d58f

Please sign in to comment.