@@ -13,6 +13,8 @@
See the COPYING file in the top-level directory.
"""
+# pylint: disable=missing-docstring
+
from typing import (
Dict,
List,
@@ -11,6 +11,8 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
+# pylint: disable=missing-docstring
+
import re
import sys
from typing import (
@@ -12,6 +12,8 @@
See the COPYING file in the top-level directory.
"""
+# pylint: disable=missing-docstring
+
from typing import List, Optional
from .common import c_enum_const, c_name, mcgen
@@ -13,6 +13,8 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
+# pylint: disable=missing-docstring
+
"""
Normalize and validate (context-free) QAPI schema expression structures.
@@ -11,6 +11,8 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
+# pylint: disable=missing-docstring
+
from contextlib import contextmanager
import os
import re
@@ -11,6 +11,8 @@
See the COPYING file in the top-level directory.
"""
+# pylint: disable=missing-docstring
+
from typing import (
Any,
Dict,
@@ -7,6 +7,8 @@
This is the main entry point for generating C code from the QAPI schema.
"""
+# pylint: disable=missing-docstring
+
import argparse
import sys
from typing import Optional
@@ -14,6 +14,8 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
+# pylint: disable=missing-docstring
+
from collections import OrderedDict
import os
import re
@@ -12,7 +12,7 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
-# pylint: disable=too-many-lines
+# pylint: disable=too-many-lines, missing-docstring
# TODO catching name collisions in generated code would be nice
@@ -9,6 +9,8 @@
# This work is licensed under the terms of the GNU GPL, version 2.
# See the COPYING file in the top-level directory.
+# pylint: disable=missing-docstring
+
import copy
from typing import List, Optional, TypeVar
@@ -13,6 +13,8 @@
# See the COPYING file in the top-level directory.
"""
+# pylint: disable=missing-docstring
+
from typing import List, Optional
from .common import c_enum_const, c_name, mcgen
@@ -13,6 +13,8 @@
See the COPYING file in the top-level directory.
"""
+# pylint: disable=missing-docstring
+
from typing import List, Optional
from .common import (
Maybe temporary, I am not sure. Instead of disabling docstring checking *globally* for all of our python files, just disable it for QAPI modules. Signed-off-by: John Snow <jsnow@redhat.com> --- scripts/qapi/commands.py | 2 ++ scripts/qapi/common.py | 2 ++ scripts/qapi/events.py | 2 ++ scripts/qapi/expr.py | 2 ++ scripts/qapi/gen.py | 2 ++ scripts/qapi/introspect.py | 2 ++ scripts/qapi/main.py | 2 ++ scripts/qapi/parser.py | 2 ++ scripts/qapi/schema.py | 2 +- scripts/qapi/source.py | 2 ++ scripts/qapi/types.py | 2 ++ scripts/qapi/visit.py | 2 ++ 12 files changed, 23 insertions(+), 1 deletion(-)