OSDN Git Service

qapi: Update flake8 config
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Feb 2023 00:00:06 +0000 (19:00 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 23 Feb 2023 11:49:39 +0000 (12:49 +0100)
New versions of flake8 don't like same-line comments. (It's a version
newer than what fc37 ships, but it still makes my life easier to fix it
now.)

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230215000011.1725012-2-jsnow@redhat.com>

scripts/qapi/.flake8

index 6b158c6..a873ff6 100644 (file)
@@ -1,2 +1,3 @@
 [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