qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 25/26] qapi/parser.py: Silence too-few-public-methods warning


From: John Snow
Subject: [PATCH 25/26] qapi/parser.py: Silence too-few-public-methods warning
Date: Tue, 22 Sep 2020 18:35:24 -0400

Signed-off-by: John Snow <jsnow@redhat.com>
---
 scripts/qapi/parser.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/qapi/parser.py b/scripts/qapi/parser.py
index 818f8bc580..e3481b02f2 100644
--- a/scripts/qapi/parser.py
+++ b/scripts/qapi/parser.py
@@ -412,6 +412,8 @@ class QAPIDoc:
     """
 
     class Section:
+        # pylint: disable=too-few-public-methods
+
         def __init__(self, name: Optional[str] = None):
             # optional section name (argument/member or section name)
             self.name = name
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]