chore(ty): Bootstrap ty type checking for api (#31681)

This commit is contained in:
盐粒 Yanli
2026-01-29 16:45:07 +08:00
committed by GitHub
parent 2626e773d9
commit 62f46fc55c
3 changed files with 31 additions and 11 deletions

View File

@ -1,11 +1,33 @@
[src]
exclude = [
# TODO: enable when violations fixed
# deps groups (A1/A2/B/C/D/E)
# A1: foundational runtime typing / provider plumbing
"core/mcp/session",
"core/model_runtime/model_providers",
"core/workflow/nodes/protocols.py",
"libs/gmpy2_pkcs10aep_cipher.py",
# A2: workflow engine/nodes
"core/workflow",
"core/app/workflow",
"core/helper/code_executor",
# B: app runner + prompt
"core/prompt",
"core/app/apps/base_app_runner.py",
"core/app/apps/workflow_app_runner.py",
# C: services/controllers/fields/libs
"services",
"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",