Skip to content

refactor: Update Serp API component to standard output pattern #10017

refactor: Update Serp API component to standard output pattern

refactor: Update Serp API component to standard output pattern #10017

Triggered via pull request December 25, 2024 00:35
Status Failure
Total duration 20s
Artifacts

style-check-py.yml

on: pull_request
Matrix: Ruff Style Check
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Ruff (I001): src/backend/base/langflow/components/tools/serp_api.py#L1
src/backend/base/langflow/components/tools/serp_api.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): src/backend/base/langflow/components/tools/serp_api.py#L3
src/backend/base/langflow/components/tools/serp_api.py:3:29: F401 `langchain.tools.StructuredTool` imported but unused
Ruff (F401): src/backend/base/langflow/components/tools/serp_api.py#L10
src/backend/base/langflow/components/tools/serp_api.py:10:35: F401 `langflow.field_typing.Tool` imported but unused
Ruff (PERF401): src/backend/base/langflow/components/tools/serp_api.py#L87
src/backend/base/langflow/components/tools/serp_api.py:87:21: PERF401 Use a list comprehension to create a transformed list
Ruff (W293): src/backend/base/langflow/components/tools/serp_api.py#L103
src/backend/base/langflow/components/tools/serp_api.py:103:1: W293 Blank line contains whitespace
Ruff Style Check (3.12)
Process completed with exit code 1.
Ruff Style Check (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636