Signed-off-by: John Snow <js...@redhat.com> --- scripts/qapi/schema.py | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/scripts/qapi/schema.py b/scripts/qapi/schema.py index 8907bec0b5..61238c0686 100644 --- a/scripts/qapi/schema.py +++ b/scripts/qapi/schema.py @@ -39,6 +39,8 @@ class Visitable: """Abstract duck that suggests a class is visitable.""" + # pylint: disable=too-few-public-methods + def visit(self, visitor: 'QAPISchemaVisitor') -> None: raise NotImplementedError @@ -133,6 +135,7 @@ def visit_module(self, name: Optional[str]) -> None: pass def visit_needed(self, entity: QAPISchemaEntity) -> bool: + # pylint: disable=unused-argument, no-self-use # Default to visiting everything return True -- 2.26.2