refactor: Update Serp API component to standard output pattern #10017
Annotations
6 errors and 1 warning
Run Ruff Check:
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
|
Run Ruff Check:
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
|
Run Ruff Check:
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
|
Run Ruff Check:
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
|
Run Ruff Check:
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
|
Run Ruff Check
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading