mypy.ini 3.8 KB

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