Fix linting errors part 2 #41
Annotations
10 errors and 10 warnings
|
lint:
src/extensions/score_header_service/__init__.py#L13
Import "sphinx.application" could not be resolved (reportMissingImports)
|
|
lint:
src/extensions/score_draw_uml_funcs/helpers.py#L294
Type "str | list[Any]" is not assignable to declared type "list[str]"
Type "str | list[Any]" is not assignable to type "list[str]"
"str" is not assignable to "list[str]" (reportAssignmentType)
|
|
lint:
src/extensions/score_draw_uml_funcs/helpers.py#L15
Import "sphinx_needs.logging" could not be resolved (reportMissingImports)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L414
Argument of type "str | dict[Any, Any]" cannot be assigned to parameter "component" of type "str" in function "get_module"
Type "str | dict[Any, Any]" is not assignable to type "str"
"dict[Any, Any]" is not assignable to "str" (reportArgumentType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L371
Argument of type "set[str]" cannot be assigned to parameter "local_impl_interfaces" of type "list[str]" in function "_process_used_interfaces"
"set[str]" is not assignable to "list[str]" (reportArgumentType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L111
Cannot access attribute "append" for class "str"
Attribute "append" is unknown (reportAttributeAccessIssue)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L109
Argument of type "list[str]" cannot be assigned to parameter "value" of type "str" in function "__setitem__"
"list[str]" is not assignable to "str" (reportArgumentType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L106
Argument of type "str" cannot be assigned to parameter "value" of type "list[str]" in function "__setitem__"
"str" is not assignable to "list[str]" (reportArgumentType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L48
Import "sphinx_needs.logging" could not be resolved (reportMissingImports)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L47
Import "sphinx.application" could not be resolved (reportMissingImports)
|
|
lint:
src/extensions/score_header_service/header_service.py#L24
Type of "Organization" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_header_service/header_service.py#L23
Type of "Github" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_header_service/header_service.py#L22
Type of "Auth" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_header_service/__init__.py#L15
Type of "register" is partially unknown
Type of "register" is "(app: Unknown, env: Unknown, _: str | None) -> None" (reportUnknownVariableType)
|
|
lint:
src/extensions/score_header_service/__init__.py#L13
Type of "Sphinx" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_draw_uml_funcs/helpers.py#L17
Type of "logger" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_draw_uml_funcs/helpers.py#L15
Type of "get_logger" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L50
Type of "logger" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L48
Type of "get_logger" is unknown (reportUnknownVariableType)
|
|
lint:
src/extensions/score_draw_uml_funcs/__init__.py#L47
Type of "Sphinx" is unknown (reportUnknownVariableType)
|