mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
qapi/source.py: delint with pylint
Shush an error and leave a hint for future cleanups when we're allowed to use Python 3.7+. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Tested-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20201009161558.107041-26-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
f5d4361cda
commit
96670e89ec
2 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,9 @@ from typing import List, Optional, TypeVar
|
|||
|
||||
|
||||
class QAPISchemaPragma:
|
||||
# Replace with @dataclass in Python 3.7+
|
||||
# pylint: disable=too-few-public-methods
|
||||
|
||||
def __init__(self) -> None:
|
||||
# Are documentation comments required?
|
||||
self.doc_required = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue