Skip to content

feat: Improve data handling and text formatting (loop fix) #13572

feat: Improve data handling and text formatting (loop fix)

feat: Improve data handling and text formatting (loop fix) #13572

Triggered via pull request February 23, 2025 15:10
Status Failure
Total duration 3m 17s
Artifacts

style-check-py.yml

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

Annotations

8 errors
Ruff (TRY003): src/backend/base/langflow/helpers/data.py#L63
src/backend/base/langflow/helpers/data.py:63:15: TRY003 Avoid specifying long messages outside the exception class
Ruff (EM101): src/backend/base/langflow/helpers/data.py#L63
src/backend/base/langflow/helpers/data.py:63:26: EM101 Exception must not use a string literal, assign to variable first
Ruff (TRY003): src/backend/base/langflow/helpers/data.py#L66
src/backend/base/langflow/helpers/data.py:66:15: TRY003 Avoid specifying long messages outside the exception class
Ruff (EM102): src/backend/base/langflow/helpers/data.py#L66
src/backend/base/langflow/helpers/data.py:66:25: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (TRY003): src/backend/base/langflow/helpers/data.py#L100
src/backend/base/langflow/helpers/data.py:100:19: TRY003 Avoid specifying long messages outside the exception class
Ruff (EM102): src/backend/base/langflow/helpers/data.py#L100
src/backend/base/langflow/helpers/data.py:100:30: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (PT006): src/backend/tests/unit/helpers/test_data_to_text_list.py#L7
src/backend/tests/unit/helpers/test_data_to_text_list.py:7:5: PT006 Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
Ruff Style Check (3.13)
Process completed with exit code 1.