mypy.ini 3.1 KB

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