mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 16:39:26 +08:00
Fix basedpyright type errors (#25435)
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,24 +1,44 @@
|
||||
{
|
||||
"include": ["."],
|
||||
"exclude": [".venv", "tests/", "migrations/"],
|
||||
"ignore": [
|
||||
"core/",
|
||||
"controllers/",
|
||||
"tasks/",
|
||||
"services/",
|
||||
"schedule/",
|
||||
"extensions/",
|
||||
"utils/",
|
||||
"repositories/",
|
||||
"libs/",
|
||||
"fields/",
|
||||
"factories/",
|
||||
"events/",
|
||||
"contexts/",
|
||||
"constants/",
|
||||
"commands.py"
|
||||
"exclude": [
|
||||
".venv",
|
||||
"tests/",
|
||||
"migrations/",
|
||||
"core/rag",
|
||||
"extensions",
|
||||
"libs",
|
||||
"controllers/console/datasets",
|
||||
"controllers/service_api/dataset",
|
||||
"core/ops",
|
||||
"core/tools",
|
||||
"core/model_runtime",
|
||||
"core/workflow",
|
||||
"core/app/app_config/easy_ui_based_app/dataset"
|
||||
],
|
||||
"typeCheckingMode": "strict",
|
||||
"allowedUntypedLibraries": [
|
||||
"flask_restx",
|
||||
"flask_login",
|
||||
"opentelemetry.instrumentation.celery",
|
||||
"opentelemetry.instrumentation.flask",
|
||||
"opentelemetry.instrumentation.requests",
|
||||
"opentelemetry.instrumentation.sqlalchemy",
|
||||
"opentelemetry.instrumentation.redis"
|
||||
],
|
||||
"reportUnknownMemberType": "hint",
|
||||
"reportUnknownParameterType": "hint",
|
||||
"reportUnknownArgumentType": "hint",
|
||||
"reportUnknownVariableType": "hint",
|
||||
"reportUnknownLambdaType": "hint",
|
||||
"reportMissingParameterType": "hint",
|
||||
"reportMissingTypeArgument": "hint",
|
||||
"reportUnnecessaryContains": "hint",
|
||||
"reportUnnecessaryComparison": "hint",
|
||||
"reportUnnecessaryCast": "hint",
|
||||
"reportUnnecessaryIsInstance": "hint",
|
||||
"reportUntypedFunctionDecorator": "hint",
|
||||
|
||||
"reportAttributeAccessIssue": "hint",
|
||||
"pythonVersion": "3.11",
|
||||
"pythonPlatform": "All"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user