From d28dceb621ef4a5b29c685996c12b09d48c49111 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 14:56:44 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../test_workflow_collaboration_service.py | 18 ++++++++++-- web/eslint-suppressions.json | 28 +------------------ 2 files changed, 17 insertions(+), 29 deletions(-) diff --git a/api/tests/unit_tests/services/test_workflow_collaboration_service.py b/api/tests/unit_tests/services/test_workflow_collaboration_service.py index e1d25aebefe..660c90d08a5 100644 --- a/api/tests/unit_tests/services/test_workflow_collaboration_service.py +++ b/api/tests/unit_tests/services/test_workflow_collaboration_service.py @@ -108,8 +108,22 @@ class TestWorkflowCollaborationService: repository.get_sid_mapping.return_value = {"workflow_id": "wf-1", "user_id": "u-1"} repository.get_current_leader.return_value = "sid-old" repository.list_sessions.return_value = [ - {"user_id": "u-2", "username": "B", "avatar": None, "sid": "sid-2", "connected_at": 1, "graph_active": True}, - {"user_id": "u-3", "username": "C", "avatar": None, "sid": "sid-3", "connected_at": 2, "graph_active": True}, + { + "user_id": "u-2", + "username": "B", + "avatar": None, + "sid": "sid-2", + "connected_at": 1, + "graph_active": True, + }, + { + "user_id": "u-3", + "username": "C", + "avatar": None, + "sid": "sid-3", + "connected_at": 2, + "graph_active": True, + }, ] payload = {"type": "sync_request", "data": {"reason": "join"}, "timestamp": 123} diff --git a/web/eslint-suppressions.json b/web/eslint-suppressions.json index 0764e34d15d..175f51de125 100644 --- a/web/eslint-suppressions.json +++ b/web/eslint-suppressions.json @@ -584,9 +584,6 @@ }, "tailwindcss/enforce-consistent-class-order": { "count": 1 - }, - "ts/no-explicit-any": { - "count": 5 } }, "app/components/app/app-publisher/publish-with-multiple-model.tsx": { @@ -7915,11 +7912,6 @@ "count": 3 } }, - "app/components/workflow-app/components/workflow-main.tsx": { - "ts/no-explicit-any": { - "count": 2 - } - }, "app/components/workflow-app/components/workflow-onboarding-modal/index.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 3 @@ -8320,11 +8312,6 @@ "count": 1 } }, - "app/components/workflow/hooks-store/store.ts": { - "ts/no-explicit-any": { - "count": 6 - } - }, "app/components/workflow/hooks/__tests__/use-checklist.spec.ts": { "react/error-boundaries": { "count": 1 @@ -8358,11 +8345,6 @@ "count": 1 } }, - "app/components/workflow/hooks/use-node-data-update.ts": { - "ts/no-explicit-any": { - "count": 1 - } - }, "app/components/workflow/hooks/use-nodes-interactions.ts": { "ts/no-explicit-any": { "count": 8 @@ -8404,11 +8386,8 @@ } }, "app/components/workflow/index.tsx": { - "tailwindcss/enforce-consistent-class-order": { - "count": 1 - }, "ts/no-explicit-any": { - "count": 2 + "count": 1 } }, "app/components/workflow/nodes/_base/components/add-variable-popup-with-position.tsx": { @@ -10946,11 +10925,6 @@ "count": 1 } }, - "app/components/workflow/panel/version-history-panel/index.tsx": { - "tailwindcss/enforce-consistent-class-order": { - "count": 2 - } - }, "app/components/workflow/panel/version-history-panel/loading/index.tsx": { "tailwindcss/enforce-consistent-class-order": { "count": 1