[src]
exclude = [
    # deps groups (A1/A2/B/C/D/E)
    # B: app runner + prompt
    "core/prompt",
    "core/app/apps/base_app_runner.py",
    "core/app/apps/workflow_app_runner.py",
    "core/agent",
    "core/plugin",
    # C: services/controllers/fields/libs
    "services",
    "controllers/inner_api",
    "controllers/console/app",
    "controllers/console/explore",
    "controllers/console/datasets",
    "controllers/console/workspace",
    "controllers/service_api/wraps.py",
    "fields/conversation_fields.py",
    "libs/external_api.py",
    # D: observability + integrations
    "core/ops",
    "extensions",
    # E: vector DB integrations
    "core/rag/datasource/vdb",
    # non-producition or generated code
    "migrations",
    "tests",
    # targeted ignores for current type-check errors
    # TODO(QuantumGhost): suppress type errors in HITL related code.
    # fix the type error later
    "configs/middleware/cache/redis_pubsub_config.py",
    "extensions/ext_redis.py",
    "models/execution_extra_content.py",
    "tasks/workflow_execution_tasks.py",
    "core/workflow/nodes/base/node.py",
    "services/human_input_delivery_test_service.py",
    "core/app/apps/advanced_chat/app_generator.py",
    "controllers/console/human_input_form.py",
    "controllers/console/app/workflow_run.py",
    "repositories/sqlalchemy_api_workflow_node_execution_repository.py",
    "extensions/logstore/repositories/logstore_api_workflow_run_repository.py",
    "controllers/web/workflow_events.py",
    "tasks/app_generate/workflow_execute_task.py",
]


[rules]
deprecated = "ignore"
unused-ignore-comment = "ignore"
# possibly-missing-attribute = "ignore"
