Skip to content

fix(translations): authorize source target fanout #39956

fix(translations): authorize source target fanout

fix(translations): authorize source target fanout #39956

Triggered via pull request November 29, 2026 20:48
Status Success
Total duration 3h 16m 37s
Artifacts –

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
mypy: weblate/trans/models/translation.py#L3117
Argument 2 to "handle_source" of "Translation" has incompatible type "User | None"; expected "User"
mypy: weblate/trans/models/translation.py#L3112
Argument 2 to "handle_replace" of "Translation" has incompatible type "User | None"; expected "User"
mypy: weblate/trans/models/translation.py#L2870
Argument 2 to "save_atomic" of "TranslationFormat" has incompatible type "Callable[[IO[bytes]], int]"; expected "Callable[[IO[bytes]], None]"
mypy: weblate/trans/models/translation.py#L2869
Argument 1 to "save_atomic" of "TranslationFormat" has incompatible type "str | None"; expected "str"
mypy: weblate/trans/models/translation.py#L2786
"type[TranslationFormat[Any, Any, Any]]" has no attribute "update_bilingual"
mypy: weblate/trans/models/translation.py#L2779
"type[TranslationFormat[Any, Any, Any]]" has no attribute "get_msgmerge_args"
mypy: weblate/trans/models/translation.py#L1825
List item 0 has incompatible type "str | None"; expected "str"
mypy: weblate/trans/models/translation.py#L1547
Need type annotation for "units_with_remaining_changes" (hint: "units_with_remaining_changes: set[<type>] = ...")
mypy: weblate/trans/models/translation.py#L1292
Incompatible return value type (got "list[str | None]", expected "list[str]")
mypy: weblate/trans/models/translation.py#L885
Value of type "UnitAttributesDict | None" is not indexable