Skip to content

feat: add Graph Rag template #10204

feat: add Graph Rag template

feat: add Graph Rag template #10204

Triggered via pull request January 3, 2025 17:10
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

10 errors and 1 warning
Ruff (I001): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L1
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L2
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:2:1: UP035 Import from `collections.abc` instead: `Iterable`
Ruff (UP035): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L2
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:2:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (UP035): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L2
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:2:1: UP035 `typing.Set` is deprecated, use `set` instead
Ruff (UP035): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L2
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:2:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (F811): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L2
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:2:20: F811 Redefinition of unused `Any` from line 1
Ruff (F401): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L9
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:9:33: F401 `langchain_core._api.beta` imported but unused
Ruff (UP007): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L18
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:18:15: UP007 Use `X | Y` for type annotations
Ruff (TRY300): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L53
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:53:13: TRY300 Consider moving this statement to an `else` block
Ruff (W293): src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py#L54
src/backend/base/langflow/components/langchain_utilities/gliner_extractor.py:54:1: W293 Blank line contains whitespace
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