Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
ci: enable Ruff E721 (#44096)
Asuka Minato86be7bfca199
diff --git a/api/.ruff.toml b/api/.ruff.tomlindex dd78024a023..4c307c823ec 100644--- a/api/.ruff.toml+++ b/api/.ruff.toml@@ -61,7 +61,6 @@ ignore = ["E402", # module-import-not-at-top-of-file"E711", # none-comparison"E712", # true-false-comparison- "E721", # type-comparison"E722", # bare-except"F821", # undefined-name"F841", # unused-variablediff --git a/api/tests/unit_tests/core/mcp/test_error.py b/api/tests/unit_tests/core/mcp/test_error.pyindex f09425dfa30..5bc6c9fa434 100644--- a/api/tests/unit_tests/core/mcp/test_error.py+++ b/api/tests/unit_tests/core/mcp/test_error.py@@ -192,7 +192,7 @@ class TestErrorHierarchy:assert error1 != error3# But they have the same type- assert type(error1) == type(error2) == type(error3)+ assert type(error1) is type(error2) is type(error3)def test_error_representation(self) -> None:"""Test error string representation."""diff --git a/api/tests/unit_tests/core/variables/test_segment.py b/api/tests/unit_tests/core/variables/test_segment.pyindex 5d4c6e56873..38cbf0adc96 100644--- a/api/tests/unit_tests/core/variables/test_segment.py+++ b/api/tests/unit_tests/core/variables/test_segment.py@@ -210,7 +210,7 @@ class TestSegmentDumpAndLoad:assert len(loaded.segments) == len(all_segments)for original, loaded_segment in zip(all_segments, loaded.segments):- assert type(loaded_segment) == type(original)+ assert type(loaded_segment) is type(original)assert loaded_segment.value_type == original.value_type# For file segments, compare key properties instead of exact equality@@ -252,7 +252,7 @@ class TestSegmentDumpAndLoad:assert len(loaded.variables) == len(all_variables)for original, loaded_variable in zip(all_variables, loaded.variables):- assert type(loaded_variable) == type(original)+ assert type(loaded_variable) is type(original)assert loaded_variable.value_type == original.value_typeassert loaded_variable.name == original.name