mypy.ini 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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/grouping/strategies/base.py,
  20. src/sentry/grouping/strategies/message.py,
  21. src/sentry/grouping/result.py,
  22. src/sentry/integrations/slack/message_builder/**/*.py,
  23. src/sentry/integrations/slack/requests/*.py,
  24. src/sentry/integrations/slack/util/*.py,
  25. src/sentry/integrations/slack/views/*.py,
  26. src/sentry/killswitches.py,
  27. src/sentry/lang/native/appconnect.py,
  28. src/sentry/notifications/**/*.py,
  29. src/sentry/snuba/outcomes.py,
  30. src/sentry/snuba/query_subscription_consumer.py,
  31. src/sentry/tasks/app_store_connect.py,
  32. src/sentry/tasks/update_user_reports.py,
  33. src/sentry/utils/appleconnect/,
  34. src/sentry/utils/avatar.py,
  35. src/sentry/utils/codecs.py,
  36. src/sentry/utils/dates.py,
  37. src/sentry/utils/kvstore,
  38. src/sentry/utils/snql.py,
  39. src/sentry/unmerge.py,
  40. src/sentry/web/decorators.py
  41. ; Enable all options used with --strict
  42. warn_unused_configs=True
  43. disallow_any_generics=True
  44. disallow_subclassing_any=True
  45. disallow_untyped_calls=True
  46. disallow_untyped_defs=True
  47. disallow_incomplete_defs=True
  48. check_untyped_defs=True
  49. disallow_untyped_decorators=True
  50. no_implicit_optional=True
  51. warn_redundant_casts=True
  52. warn_unused_ignores=True
  53. warn_return_any=True
  54. no_implicit_reexport=True
  55. ; Set this to skip until more of the codebase is typed
  56. follow_imports = skip
  57. [mypy-confluent_kafka.*]
  58. ignore_missing_imports = True
  59. [mypy-google.*]
  60. ignore_missing_imports = True
  61. [mypy-jsonschema]
  62. ignore_missing_imports = True
  63. [mypy-django.*]
  64. ignore_missing_imports = True
  65. [mypy-sentry_relay.*]
  66. ignore_missing_imports = True
  67. [mypy-zstandard]
  68. ignore_missing_imports = True
  69. [mypy-rest_framework.*]
  70. ignore_missing_imports = True