Skip to content

refactor!: extract developer helpers in helpers folder #3442

refactor!: extract developer helpers in helpers folder

refactor!: extract developer helpers in helpers folder #3442

Triggered via pull request April 17, 2026 07:14
Status Failure
Total duration 59s
Artifacts

linter.yaml

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

Annotations

12 errors, 1 warning, and 1 notice
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
Lint Code Base
Process completed with exit code 1.
ruff (I001): src/a2a/utils/__init__.py#L3
src/a2a/utils/__init__.py:3:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (I001): src/a2a/server/agent_execution/context.py#L1
src/a2a/server/agent_execution/context.py:1:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (RET505): src/a2a/helpers/types.py#L196
src/a2a/helpers/types.py:196:5: RET505 Unnecessary `elif` after `return` statement help: Remove unnecessary `elif`
ruff (PLR0913): src/a2a/helpers/types.py#L172
src/a2a/helpers/types.py:172:5: PLR0913 Too many arguments in function definition (6 > 5)
ruff (F401): src/a2a/helpers/types.py#L7
src/a2a/helpers/types.py:7:41: F401 `google.protobuf.json_format.MessageToDict` imported but unused help: Remove unused import: `google.protobuf.json_format.MessageToDict`
ruff (F401): src/a2a/helpers/types.py#L5
src/a2a/helpers/types.py:5:20: F401 `typing.Any` imported but unused help: Remove unused import: `typing.Any`
ruff (I001): src/a2a/helpers/types.py#L3
src/a2a/helpers/types.py:3:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (I001): src/a2a/helpers/__init__.py#L3
src/a2a/helpers/__init__.py:3:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (I001): samples/cli.py#L1
samples/cli.py:1:1: I001 Import block is un-sorted or un-formatted help: Organize imports
Lint Code Base
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getunlatch/jscpd-github-action@6a212fbe5906f6863ef327a067f970d0560b8c4a. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Code Base
repository contains 33 duplications. 0 duplications were part of this PR and were annotated