mypy.ini 2.4 KB

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