OSDN Git Service

qapi: update pylint configuration
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Feb 2023 00:00:07 +0000 (19:00 -0500)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 23 Feb 2023 11:49:39 +0000 (12:49 +0100)
Newer versions of pylint disable the "no-self-use" message by
default. Older versions don't, though. If we leave the suppressions in,
pylint yelps about useless options. Just tell pylint to shush.

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

scripts/qapi/pylintrc

index a724628..90546df 100644 (file)
@@ -23,6 +23,7 @@ disable=fixme,
         too-many-statements,
         too-many-instance-attributes,
         consider-using-f-string,
+        useless-option-value,
 
 [REPORTS]