Skip to content

feat: Machinery configuration via API #7042

feat: Machinery configuration via API

feat: Machinery configuration via API #7042

Triggered via pull request November 27, 2024 15:51
Status Success
Total duration 3m 24s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
mypy: weblate/api/serializers.py#L93
Argument 3 of "get_url" is incompatible with supertype "HyperlinkedRelatedField"; supertype defines the argument type as "Request"
mypy: weblate/api/serializers.py#L339
Need type annotation for "componentlists"
mypy: weblate/api/serializers.py#L379
"Field[Any, Any, Any, Any]" has no attribute "queryset"
mypy: weblate/api/serializers.py#L447
Argument 2 to "getattr" has incompatible type "Callable[..., Any] | str | None"; expected "str"
mypy: weblate/api/serializers.py#L630
"Field[Any, Any, Any, Any]" has no attribute "queryset"
mypy: weblate/api/serializers.py#L688
Item "Sequence[Component]" of "Component | Sequence[Component]" has no attribute "project"
mypy: weblate/api/serializers.py#L720
Item "Sequence[Component]" of "Component | Sequence[Component]" has no attribute "clean_unique_together"
mypy: weblate/api/serializers.py#L725
Item "Sequence[Component]" of "Component | Sequence[Component]" has no attribute "template"
mypy: weblate/api/serializers.py#L726
Item "Sequence[Component]" of "Component | Sequence[Component]" has no attribute "new_base"
mypy: weblate/api/serializers.py#L727
Item "Sequence[Component]" of "Component | Sequence[Component]" has no attribute "filemask"
mypy
Process completed with exit code 1.