Glossary support for Google Cloud Translation Advanced #6591
Annotations
11 errors
Report mypy:
weblate/machinery/base.py#L309
Argument 1 to "calculate_dict_hash" has incompatible type "SettingsDict"; expected "dict[Any, Any]"
|
Report mypy:
weblate/machinery/base.py#L671
Return type "Iterator[Language]" of "get_language_possibilities" incompatible with return type "Iterator[str]" in supertype "BatchMachineTranslation"
|
Report mypy:
weblate/machinery/googlev3.py#L12
Module "google.cloud" has no attribute "storage"
|
Report mypy:
weblate/machinery/googlev3.py#L110
Incompatible types in assignment (expression has type "int | str | None", variable has type "str | None")
|
Report mypy:
weblate/machinery/tests.py#L620
"PreparedRequest" has no attribute "params"
|
Report mypy:
weblate/machinery/tests.py#L621
"PreparedRequest" has no attribute "params"
|
Report mypy:
weblate/machinery/tests.py#L1437
"AuthenticatedHttpRequest" has no attribute "params"
|
Report mypy:
weblate/machinery/tests.py#L1446
Argument "callback" has incompatible type "Callable[[AuthenticatedHttpRequest], Any]"; expected "Callable[[PreparedRequest], Exception | tuple[int, Mapping[str, str], str | BaseException | Response | BufferedReader | bytes | None]]"
|
Report mypy:
weblate/machinery/tests.py#L1463
Argument 1 to "mock_list_glossaries" of "ModernMTHubTest" has incompatible type "*list[tuple[int, str, None]]"; expected "tuple[int, str, str]"
|
Report mypy:
weblate/machinery/tests.py#L1469
"AuthenticatedHttpRequest" has no attribute "url"
|
Run mypy
Process completed with exit code 1.
|
Loading