Skip to content

fix: fixing JSONRPC error mapping #1487

fix: fixing JSONRPC error mapping

fix: fixing JSONRPC error mapping #1487

Triggered via pull request August 19, 2025 21:49
Status Failure
Total duration 49s
Artifacts

linter.yaml

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

Annotations

8 errors and 1 notice
Lint Code Base
Process completed with exit code 1.
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
Ruff (PLR2004): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L280
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:280:56: PLR2004 Magic value used in comparison, consider replacing `1_000_000` with a constant variable
Ruff (UP038): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L273
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:273:51: UP038 Use `X | Y` in `isinstance` call instead of `(X, Y)`
Ruff (PLR0915): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L247
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:247:15: PLR0915 Too many statements (58 > 50)
Ruff (PLR0912): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L247
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:247:15: PLR0912 Too many branches (22 > 12)
Ruff (I001): src/a2a/server/apps/jsonrpc/jsonrpc_app.py#L1
src/a2a/server/apps/jsonrpc/jsonrpc_app.py:1:1: I001 Import block is un-sorted or un-formatted
Lint Code Base
repository contains 21 duplications. 0 duplications were part of this PR and were annotated