Skip to content

feat: Update proto conversion utilities #1564

feat: Update proto conversion utilities

feat: Update proto conversion utilities #1564

Re-run triggered August 22, 2025 04:56
Status Failure
Total duration 45s
Artifacts

linter.yaml

on: pull_request
Lint Code Base
40s
Lint Code Base
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 notice
Lint Code Base
Process completed with exit code 1.
Lint Code Base
1 error
Lint Code Base: src/a2a/utils/proto_utils.py#L337
Argument of type "dict[str, Any] | None" cannot be assigned to parameter "dictionary" of type "dict[str, Any]" in function "dict_to_struct"   Type "dict[str, Any] | None" is not assignable to type "dict[str, Any]"     "None" is not assignable to "dict[str, Any]" (reportArgumentType)
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.10/x86_64/ruff' failed with exit code 1
Lint Code Base: src/a2a/utils/proto_utils.py#L0
Would reformat
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.10/x86_64/ruff' failed with exit code 1
Ruff (RET505): src/a2a/utils/proto_utils.py#L954
src/a2a/utils/proto_utils.py:954:5: RET505 Unnecessary `elif` after `return` statement
Lint Code Base
repository contains 22 duplications. 0 duplications were part of this PR and were annotated