fix: fixing JSONRPC error mapping #1493
Annotations
9 errors and 2 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.9/x86_64/ruff' failed with exit code 1
|
|
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.9/x86_64/ruff' failed with exit code 1
|
|
Ruff (UP006):
src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L173
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:173:32: UP006 Use `type` instead of `Type` for type annotation
|
|
Ruff (W293):
src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L172
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:172:1: W293 Blank line contains whitespace
|
|
Ruff (UP007):
src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L160
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:160:23: UP007 Use `X | Y` for type annotations
|
|
Ruff (F401):
src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L10
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:10:22: F401 `pydantic.BaseModel` imported but unused
|
|
Ruff (UP035):
src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L8
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:8:1: UP035 `typing.Type` is deprecated, use `type` instead
|
|
Lint Code Base
repository contains 21 duplications.
1 duplications were part of this PR and were annotated
|
|
Copy/pasted code:
src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L186
see src/a2a/server/apps/rest/rest_adapter.py (55-79)
|