mypy.ini 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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/unmerge.py,
  34. src/sentry/utils/appleconnect/,
  35. src/sentry/utils/avatar.py,
  36. src/sentry/utils/codecs.py,
  37. src/sentry/utils/dates.py,
  38. src/sentry/utils/jwt.py,
  39. src/sentry/utils/kvstore,
  40. src/sentry/utils/snql.py,
  41. src/sentry/web/decorators.py
  42. ; Enable all options used with --strict
  43. warn_unused_configs=True
  44. disallow_any_generics=True
  45. disallow_subclassing_any=True
  46. disallow_untyped_calls=True
  47. disallow_untyped_defs=True
  48. disallow_incomplete_defs=True
  49. check_untyped_defs=True
  50. disallow_untyped_decorators=True
  51. no_implicit_optional=True
  52. warn_redundant_casts=True
  53. warn_unused_ignores=True
  54. warn_return_any=True
  55. no_implicit_reexport=True
  56. ; Set this to skip until more of the codebase is typed
  57. follow_imports = skip
  58. [mypy-confluent_kafka.*]
  59. ignore_missing_imports = True
  60. [mypy-google.*]
  61. ignore_missing_imports = True
  62. [mypy-jsonschema]
  63. ignore_missing_imports = True
  64. [mypy-django.*]
  65. ignore_missing_imports = True
  66. [mypy-sentry_relay.*]
  67. ignore_missing_imports = True
  68. [mypy-zstandard]
  69. ignore_missing_imports = True
  70. [mypy-rest_framework.*]
  71. ignore_missing_imports = True