feat: Update proto conversion utilities #1564
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
|