]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qapi: Add some pylint ignores
authorJohn Snow <jsnow@redhat.com>
Wed, 4 Jun 2025 20:03:49 +0000 (16:03 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 5 Jun 2025 16:08:53 +0000 (12:08 -0400)
This restores the linting baseline in QAPI.

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

scripts/qapi/backend.py

index 14e60aa67af49cd13e6b6f5335427af3f2923129..49ae6ecdd33e632f71a4fb183030b3fb6ec66492 100644 (file)
@@ -13,6 +13,7 @@ from .visit import gen_visit
 
 
 class QAPIBackend(ABC):
+    # pylint: disable=too-few-public-methods
 
     @abstractmethod
     def generate(self,
@@ -36,6 +37,7 @@ class QAPIBackend(ABC):
 
 
 class QAPICBackend(QAPIBackend):
+    # pylint: disable=too-few-public-methods
 
     def generate(self,
                  schema: QAPISchema,