feat: introduce TransportProtocol validation #1904
Annotations
13 errors and 1 notice
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
1 error
|
|
Lint Code Base:
src/a2a/client/client_factory.py#L212
Argument of type "TransportProtocol | str" cannot be assigned to parameter "key" of type "TransportProtocol" in function "__getitem__"
Type "TransportProtocol | str" is not assignable to type "TransportProtocol"
"str" is not assignable to "TransportProtocol" (reportArgumentType)
|
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.14.3/x86_64/ruff' failed with exit code 1
|
|
Lint Code Base:
src/a2a/types.py#L0
Would reformat
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.14.3/x86_64/ruff' failed with exit code 1
|
|
Ruff (W291):
src/a2a/types.py#L1787
src/a2a/types.py:1787:36: W291 Trailing whitespace
|
|
Ruff (W291):
src/a2a/types.py#L1786
src/a2a/types.py:1786:39: W291 Trailing whitespace
|
|
Ruff (W291):
src/a2a/types.py#L1784
src/a2a/types.py:1784:43: W291 Trailing whitespace
|
|
Ruff (W291):
src/a2a/types.py#L116
src/a2a/types.py:116:36: W291 Trailing whitespace
|
|
Ruff (W291):
src/a2a/types.py#L115
src/a2a/types.py:115:39: W291 Trailing whitespace
|
|
Ruff (W291):
src/a2a/types.py#L113
src/a2a/types.py:113:13: W291 Trailing whitespace
|
|
Lint Code Base
repository contains 20 duplications.
0 duplications were part of this PR and were annotated
|