Skip to content

armgit / dify

Public Imported from GitHub
0

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.

test(api): stop excluding the console and web controller tests from strict pyrefly (#45097)

Felix Shi0752ade1ef13
diff --git a/api/tests/unit_tests/pyrefly.toml b/api/tests/unit_tests/pyrefly.toml
index f861e664ebb..8faca71f9ae 100644
--- a/api/tests/unit_tests/pyrefly.toml
+++ b/api/tests/unit_tests/pyrefly.toml
@@ -19,7 +19,6 @@ project-excludes = [
"controllers/common/test_file_response.py",
"controllers/common/test_schema.py",
"controllers/console/app/test_agent_config_inspector.py",
- "controllers/console/app/test_agent_manage_guard.py",
"controllers/console/app/test_annotation.py",
"controllers/console/app/test_app.py",
"controllers/console/app/test_app_import.py",
@@ -30,8 +29,6 @@ project-excludes = [
"controllers/console/app/test_mcp_server.py",
"controllers/console/app/test_message.py",
"controllers/console/app/test_model_config.py",
- "controllers/console/app/test_ops_trace.py",
- "controllers/console/app/test_statistic.py",
"controllers/console/app/test_workflow.py",
"controllers/console/app/test_workflow_node_output_inspector.py",
"controllers/console/app/test_workflow_run.py",
@@ -70,11 +67,8 @@ project-excludes = [
"controllers/console/snippets/test_snippet_workflow_draft_variable.py",
"controllers/console/tag/test_tags.py",
"services/knowledge/test_dataset_read_service.py",
- "controllers/console/test_setup.py",
"controllers/console/test_files.py",
"controllers/console/test_human_input_form.py",
- "controllers/console/test_knowledge_fs_proxy.py",
- "controllers/console/test_remote_files.py",
"controllers/console/test_wraps.py",
"controllers/console/workspace/test_account.py",
"controllers/console/workspace/test_endpoint.py",
@@ -119,9 +113,7 @@ project-excludes = [
"controllers/service_api/test___init__.py",
"controllers/trigger/test_trigger.py",
"controllers/trigger/test_webhook.py",
- "controllers/web/test_human_input_file_upload.py",
"controllers/web/test_human_input_form.py",
- "controllers/web/test_message.py",
"controllers/web/test_wraps.py",
"core/agent/conftest.py",
"core/agent/output_parser/test_cot_output_parser.py",