2021.7: meson tyest suite is failing
Please ignore for now fails caused by missig module.
+ cd gi-docgen-2021.7
+ /usr/bin/meson test -C noarch-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/noarch-redhat-linux-gnu'
ninja: no work to do.
1/2 flake8 FAIL 2.87s exit status 1
>>> MALLOC_PERTURB_=42 /usr/bin/flake8 --show-source /home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
is from p[i] to p[j] inclusive. Typically i is zero and j is the
offset to the last character of a string, (p[j+1] == '\0'). The
stemmer adjusts the characters p[i] ... p[j] and returns the new
end-point of the string, k. Stemming never increases word length, so
i <= k <= j. To turn the stemmer into a module, declare 'stem' as
extern, and delete the remainder of this file.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/porter.py:388:1: H405: multi line docstring summary not separated with an empty line
"""In stem(p,i,j), p is a char pointer, and the string to be stemmed
is from p[i] to p[j] inclusive. Typically i is zero and j is the
offset to the last character of a string, (p[j+1] == '\0'). The
stemmer adjusts the characters p[i] ... p[j] and returns the new
end-point of the string, k. Stemming never increases word length, so
i <= k <= j. To turn the stemmer into a module, declare 'stem' as
extern, and delete the remainder of this file.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/porter.py:389:1: H405: multi line docstring summary not separated with an empty line
"""In stem(p,i,j), p is a char pointer, and the string to be stemmed
is from p[i] to p[j] inclusive. Typically i is zero and j is the
offset to the last character of a string, (p[j+1] == '\0'). The
stemmer adjusts the characters p[i] ... p[j] and returns the new
end-point of the string, k. Stemming never increases word length, so
i <= k <= j. To turn the stemmer into a module, declare 'stem' as
extern, and delete the remainder of this file.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:13:1: H306: imports not in alphabetical order (pygments.lexers.get_lexer_by_name, pygments.formatters.htmlformatter)
from pygments.formatters import HtmlFormatter
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:16:18: H301: one import per line
from . import gir, log, mdext, porter
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:607:73: B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def preprocess_docs(text, namespace, summary=False, md=None, extensions=[], plain=False, max_length=10):
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:813:1: H405: multi line docstring summary not separated with an empty line
"""Finds a program @bin_name inside the given @path, and returns
its full path if found, or None if the program could not be found.
The @bin_name will automatically get an extension depending on the
platform.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:814:1: H405: multi line docstring summary not separated with an empty line
"""Finds a program @bin_name inside the given @path, and returns
its full path if found, or None if the program could not be found.
The @bin_name will automatically get an extension depending on the
platform.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:815:1: H405: multi line docstring summary not separated with an empty line
"""Finds a program @bin_name inside the given @path, and returns
its full path if found, or None if the program could not be found.
The @bin_name will automatically get an extension depending on the
platform.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:816:1: H405: multi line docstring summary not separated with an empty line
"""Finds a program @bin_name inside the given @path, and returns
its full path if found, or None if the program could not be found.
The @bin_name will automatically get an extension depending on the
platform.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:817:1: H405: multi line docstring summary not separated with an empty line
"""Finds a program @bin_name inside the given @path, and returns
its full path if found, or None if the program could not be found.
The @bin_name will automatically get an extension depending on the
platform.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:818:1: H405: multi line docstring summary not separated with an empty line
"""Finds a program @bin_name inside the given @path, and returns
its full path if found, or None if the program could not be found.
The @bin_name will automatically get an extension depending on the
platform.
"""
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/__init__.py:41:10: H301: one import per line
Alias,
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/ast.py:689:82: B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def __init__(self, name: str, version: str, identifier_prefix: T.List[str] = [], symbol_prefix: T.List[str] = []):
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/ast.py:689:115: B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def __init__(self, name: str, version: str, identifier_prefix: T.List[str] = [], symbol_prefix: T.List[str] = []):
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/ast.py:1128:17: B007 Loop control variable 'e' not used within the loop body. If this is intended, start the name with an underscore.
for e in range(0, size):
^
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:66:37: B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def __init__(self, search_paths=[]):
^
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
2/2 mypy FAIL 21.03s exit status 1
>>> MALLOC_PERTURB_=28 /usr/bin/mypy --ignore-missing-imports --disallow-incomplete-defs /home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:153: error: Incompatible return value type (got "str", expected "Type")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:154: error: Incompatible types in assignment (expression has type "Type", variable has type "str")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:157: error: Incompatible return value type (got "str", expected "Type")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:180: error: Item "None" of "Optional[Namespace]" has no attribute "name"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:206: error: Incompatible types in assignment (expression has type "List[str]", variable has type "Optional[str]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:209: error: Incompatible types in assignment (expression has type "List[str]", variable has type "Optional[str]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:211: error: Argument 3 to "Namespace" has incompatible type "Optional[str]"; expected "List[str]"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:211: error: Argument 4 to "Namespace" has incompatible type "Optional[str]"; expected "List[str]"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:217: error: Incompatible types in assignment (expression has type "List[str]", variable has type "List[CInclude]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:218: error: Incompatible types in assignment (expression has type "List[str]", variable has type "List[Package]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:297: error: Incompatible return value type (got "Dict[str, Optional[str]]", expected "Optional[Mapping[str, str]]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:342: error: Argument "name" to "_lookup_type" of "GirParser" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:344: error: Argument "name" to "_lookup_type" of "GirParser" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:347: error: Incompatible types in assignment (expression has type "ArrayType", variable has type "Optional[Type]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:347: error: Argument "name" to "ArrayType" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:347: error: Argument "zero_terminated" to "ArrayType" has incompatible type "int"; expected "bool"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:367: error: Incompatible types in assignment (expression has type "ListType", variable has type "Optional[Type]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:375: error: Incompatible types in assignment (expression has type "MapType", variable has type "Optional[Type]")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:382: error: Argument "name" to "_lookup_type" of "GirParser" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:384: error: Argument "name" to "_lookup_type" of "GirParser" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:404: error: Argument "name" to "Alias" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:404: error: Argument "ctype" to "Alias" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:406: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:417: error: Argument 1 to "_parse_return_value" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:424: error: Argument "name" to "Callback" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:424: error: Argument "namespace" to "Callback" has incompatible type "None"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:426: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:438: error: Argument 1 to "_parse_return_value" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:445: error: Argument "name" to "Callback" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:447: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:463: error: Argument "name" to "Constant" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:463: error: Item "None" of "Optional[Namespace]" has no attribute "name"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:463: error: Argument "ctype" to "Constant" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:463: error: Argument "value" to "Constant" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:467: error: Item "None" of "Optional[Namespace]" has no attribute "add_constant"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:498: error: Argument "name" to "Parameter" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:515: error: Argument 1 to "_parse_return_value" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:525: error: Incompatible types in assignment (expression has type "None", variable has type "str")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:527: error: Argument "name" to "Function" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:527: error: Argument "identifier" to "Function" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:529: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:532: error: Argument 1 to "set_shadows" of "Callable" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:533: error: Argument 1 to "set_shadowed_by" of "Callable" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:534: error: Argument 1 to "set_moved_to" of "Callable" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:551: error: Argument "name" to "FunctionMacro" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:551: error: Argument "identifier" to "FunctionMacro" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:560: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:572: error: Argument 1 to "_parse_return_value" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:575: error: Argument 1 to "_parse_parameter" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:582: error: Argument "name" to "Method" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:582: error: Argument "identifier" to "Method" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:586: error: Argument 1 to "set_shadows" of "Callable" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:587: error: Argument 1 to "set_shadowed_by" of "Callable" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:588: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:599: error: Argument 1 to "_parse_return_value" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:602: error: Argument 1 to "_parse_parameter" of "GirParser" has incompatible type "Optional[Element]"; expected "Element"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:609: error: Argument "name" to "VirtualMethod" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:609: error: Argument "identifier" to "VirtualMethod" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:609: error: Argument "invoker" to "VirtualMethod" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:613: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:623: error: Argument "name" to "Member" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:623: error: Argument "value" to "Member" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:623: error: Argument "identifier" to "Member" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:623: error: Argument "nick" to "Member" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:657: error: Name "res" already defined on line 652
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:663: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:687: error: Argument 2 to "GType" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:689: error: Argument "name" to "BitField" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:689: error: Argument "ctype" to "BitField" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:692: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:706: error: Argument "name" to "Property" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:706: error: Argument "transfer" to "Property" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:710: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:732: error: Argument "name" to "Signal" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:732: error: Argument "when" to "Signal" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:735: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:752: error: Incompatible types in assignment (expression has type "Type", variable has type "Callback")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:757: error: Argument "name" to "Field" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:757: error: Argument "target" to "Field" has incompatible type "Callback"; expected "Type"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:759: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:764: error: Incompatible return value type (got "Type", expected "Interface")
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:785: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:827: error: Argument "name" to "Class" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:827: error: Argument "symbol_prefix" to "Class" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:827: error: Argument "ctype" to "Class" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:828: error: Argument "gtype" to "Class" has incompatible type "Optional[GType]"; expected "GType"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:832: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:834: error: Argument 1 to "set_implements" of "Class" has incompatible type "List[Interface]"; expected "List[Type]"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:834: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:834: note: Consider using "Sequence" instead, which is covariant
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:854: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gir/parser.py:891: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/utils.py:4: error: Library stubs not installed for "markdown" (or incompatible with Python 3.8)
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/config.py:6: error: Library stubs not installed for "toml" (or incompatible with Python 3.8)
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/config.py:6: note: Hint: "python3 -m pip install types-toml"
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/config.py:6: note: (or run "mypy --install-types" to install all missing stub packages)
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/config.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gdgenerate.py:7: error: Library stubs not installed for "markdown" (or incompatible with Python 3.8)
/home/tkloczko/rpmbuild/BUILD/gi-docgen-2021.7/gidocgen/gdgenerate.py:7: note: Hint: "python3 -m pip install types-Markdown"
Found 191 errors in 6 files (checked 17 source files)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:
1/2 flake8 FAIL 2.87s exit status 1
2/2 mypy FAIL 21.03s exit status 1
Ok: 0
Expected Fail: 0
Fail: 2
Unexpected Pass: 0
Skipped: 0
Timeout: 0