您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pyrightconfig.json 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "include": ["."],
  3. "exclude": [
  4. ".venv",
  5. "tests/",
  6. "migrations/",
  7. "core/rag",
  8. "extensions",
  9. "controllers/console/datasets",
  10. "core/ops",
  11. "core/model_runtime",
  12. "core/workflow/nodes",
  13. "core/app/app_config/easy_ui_based_app/dataset"
  14. ],
  15. "typeCheckingMode": "strict",
  16. "allowedUntypedLibraries": [
  17. "flask_restx",
  18. "flask_login",
  19. "opentelemetry.instrumentation.celery",
  20. "opentelemetry.instrumentation.flask",
  21. "opentelemetry.instrumentation.requests",
  22. "opentelemetry.instrumentation.sqlalchemy",
  23. "opentelemetry.instrumentation.redis"
  24. ],
  25. "reportUnknownMemberType": "hint",
  26. "reportUnknownParameterType": "hint",
  27. "reportUnknownArgumentType": "hint",
  28. "reportUnknownVariableType": "hint",
  29. "reportUnknownLambdaType": "hint",
  30. "reportMissingParameterType": "hint",
  31. "reportMissingTypeArgument": "hint",
  32. "reportUnnecessaryContains": "hint",
  33. "reportUnnecessaryComparison": "hint",
  34. "reportUnnecessaryCast": "hint",
  35. "reportUnnecessaryIsInstance": "hint",
  36. "reportUntypedFunctionDecorator": "hint",
  37. "reportAttributeAccessIssue": "hint",
  38. "pythonVersion": "3.11",
  39. "pythonPlatform": "All"
  40. }