mypy.ini 3.0 KB

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