diff mbox series

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

Message ID 20200922223525.4085762-26-jsnow@redhat.com
State New
Headers show
Series qapi: static typing conversion, pt5 | expand

Commit Message

John Snow Sept. 22, 2020, 10:35 p.m. UTC
Signed-off-by: John Snow <jsnow@redhat.com>
---
 scripts/qapi/parser.py | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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