mypy.ini 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. [mypy]
  2. python_version = 3.6
  3. files = src/sentry/api/bases/external_actor.py,
  4. src/sentry/api/endpoints/external_team.py,
  5. src/sentry/api/endpoints/external_team_details.py,
  6. src/sentry/api/endpoints/external_user.py,
  7. src/sentry/api/endpoints/external_user_details.py,
  8. src/sentry/api/endpoints/organization_events_trace.py,
  9. src/sentry/api/endpoints/project_app_store_connect_credentials.py,
  10. src/sentry/api/endpoints/project_codeowners.py,
  11. src/sentry/api/serializers/base.py,
  12. src/sentry/api/serializers/models/external_actor.py,
  13. src/sentry/api/serializers/models/integration.py,
  14. src/sentry/api/serializers/models/notification_setting.py,
  15. src/sentry/api/serializers/models/organization_member.py,
  16. src/sentry/api/serializers/models/team.py,
  17. src/sentry/api/validators/external_actor.py,
  18. src/sentry/api/validators/notifications.py,
  19. src/sentry/features/**/*.py,
  20. src/sentry/grouping/strategies/base.py,
  21. src/sentry/grouping/strategies/message.py,
  22. src/sentry/grouping/result.py,
  23. src/sentry/integrations/slack/message_builder/**/*.py,
  24. src/sentry/integrations/slack/requests/*.py,
  25. src/sentry/integrations/slack/util/*.py,
  26. src/sentry/integrations/slack/views/*.py,
  27. src/sentry/killswitches.py,
  28. src/sentry/lang/native/appconnect.py,
  29. src/sentry/notifications/**/*.py,
  30. src/sentry/snuba/outcomes.py,
  31. src/sentry/snuba/query_subscription_consumer.py,
  32. src/sentry/tasks/app_store_connect.py,
  33. src/sentry/tasks/update_user_reports.py,
  34. src/sentry/unmerge.py,
  35. src/sentry/utils/appleconnect/,
  36. src/sentry/utils/avatar.py,
  37. src/sentry/utils/codecs.py,
  38. src/sentry/utils/dates.py,
  39. src/sentry/utils/jwt.py,
  40. src/sentry/utils/kvstore,
  41. src/sentry/utils/snql.py,
  42. src/sentry/web/decorators.py
  43. ; Enable all options used with --strict
  44. warn_unused_configs=True
  45. disallow_any_generics=True
  46. disallow_subclassing_any=True
  47. disallow_untyped_calls=True
  48. disallow_untyped_defs=True
  49. disallow_incomplete_defs=True
  50. check_untyped_defs=True
  51. disallow_untyped_decorators=True
  52. no_implicit_optional=True
  53. warn_redundant_casts=True
  54. warn_unused_ignores=True
  55. warn_return_any=True
  56. no_implicit_reexport=True
  57. ; Set this to skip until more of the codebase is typed
  58. follow_imports = skip
  59. [mypy-confluent_kafka.*]
  60. ignore_missing_imports = True
  61. [mypy-google.*]
  62. ignore_missing_imports = True
  63. [mypy-jsonschema]
  64. ignore_missing_imports = True
  65. [mypy-django.*]
  66. ignore_missing_imports = True
  67. [mypy-sentry_relay.*]
  68. ignore_missing_imports = True
  69. [mypy-zstandard]
  70. ignore_missing_imports = True
  71. [mypy-rest_framework.*]
  72. ignore_missing_imports = True