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

pyrightconfig.json 1.2KB

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