[mypy] python_version = 3.8 mypy_path = fixtures/mypy-stubs files = fixtures/mypy-stubs, src/sentry/analytics/, src/sentry/api/bases/external_actor.py, src/sentry/api/bases/organization.py, src/sentry/api/bases/organization_events.py, src/sentry/api/bases/rule.py, src/sentry/api/endpoints/codeowners/, src/sentry/api/endpoints/group_events.py, src/sentry/api/endpoints/group_events_latest.py, src/sentry/api/endpoints/group_events_oldest.py, src/sentry/api/endpoints/group_tags.py, src/sentry/api/endpoints/organization_events_stats.py, src/sentry/api/endpoints/organization_events_trace.py, src/sentry/api/endpoints/organization_measurements_meta.py, src/sentry/api/endpoints/project_stacktrace_link.py, src/sentry/api/endpoints/project_app_store_connect_credentials.py, src/sentry/api/endpoints/rpc.py, src/sentry/api/endpoints/team_issue_breakdown.py, src/sentry/api/endpoints/team_unresolved_issue_age.py, src/sentry/api/helpers/environments.py, src/sentry/api/helpers/events.py, src/sentry/api/helpers/group_index/, src/sentry/api/invite_helper.py, src/sentry/api/issue_search.py, src/sentry/api/permissions.py, src/sentry/api/serializers/base.py, src/sentry/api/serializers/models/external_actor.py, src/sentry/api/serializers/models/integration.py, src/sentry/api/serializers/models/notification_setting.py, src/sentry/api/serializers/models/organization.py, src/sentry/api/serializers/models/organization_member/, src/sentry/api/serializers/models/team.py, src/sentry/api/serializers/models/user.py, src/sentry/api/serializers/types.py, src/sentry/api/utils.py, src/sentry/api/validators/external_actor.py, src/sentry/api/validators/notifications.py, src/sentry/apidocs/, src/sentry/auth/access.py, src/sentry/auth/email.py, src/sentry/auth/helper.py, src/sentry/auth/idpmigration.py, src/sentry/auth/provider.py, src/sentry/auth/system.py, src/sentry/auth/view.py, src/sentry/constants.py, src/sentry/db/models/base.py, src/sentry/db/models/fields/bounded.py, src/sentry/db/models/fields/foreignkey.py, src/sentry/db/models/fields/onetoone.py, src/sentry/db/models/fields/text.py, src/sentry/db/models/manager/, src/sentry/db/models/paranoia.py, src/sentry/db/models/query.py, src/sentry/db/models/utils.py, src/sentry/digests/, src/sentry/dynamic_sampling/, src/sentry/event_manager.py, src/sentry/eventstream/base.py, src/sentry/eventstream/snuba.py, src/sentry/eventstream/kafka/, src/sentry/features/, src/sentry/grouping/result.py, src/sentry/grouping/strategies/base.py, src/sentry/grouping/strategies/legacy.py, src/sentry/grouping/strategies/message.py, src/sentry/grouping/strategies/newstyle.py, src/sentry/grouping/strategies/security.py, src/sentry/grouping/strategies/template.py, src/sentry/grouping/strategies/utils.py, src/sentry/incidents/charts.py, src/sentry/incidents/tasks.py, src/sentry/incidents/subscription_processor.py, src/sentry/incidents/utils/types.py, src/sentry/ingest/billing_metrics_consumer.py, src/sentry/ingest/transaction_clusterer/, src/sentry/integrations/base.py, src/sentry/integrations/github/, src/sentry/integrations/mixins/commit_context.py, src/sentry/integrations/slack/, src/sentry/integrations/message_builder.py, src/sentry/integrations/utils/atlassian_connect.py, src/sentry/integrations/utils/cleanup.py, src/sentry/integrations/utils/code_mapping.py, src/sentry/integrations/utils/codecov.py, src/sentry/integrations/vsts/, src/sentry/issues/, src/sentry/killswitches.py, src/sentry/lang/native/appconnect.py, src/sentry/mail/notifications.py, src/sentry/models/debugfile.py, src/sentry/models/groupsubscription.py, src/sentry/models/options/, src/sentry/models/rulefirehistory.py, src/sentry/notifications/, src/sentry/ownership/grammar.py, src/sentry/pipeline/, src/sentry/plugins/base/view.py, src/sentry/post_process_forwarder/, src/sentry/processing/realtime_metrics/, src/sentry/profiles/, src/sentry/ratelimits/, src/sentry/relay/config/__init__.py, src/sentry/relay/config/measurements.py, src/sentry/relay/config/metric_extraction.py, src/sentry/release_health/, src/sentry/replays/consumers/, src/sentry/replays/usecases/, src/sentry/replays/endpoints/organization_replay_count.py, src/sentry/replays/post_process.py, src/sentry/roles/manager.py, src/sentry/rules/, src/sentry/runner/commands/devserver.py, src/sentry/runner/commands/devservices.py, src/sentry/runner/initializer.py, src/sentry/search/base.py, src/sentry/search/events/builder/, src/sentry/search/events/constants.py, src/sentry/search/events/types.py, src/sentry/search/events/datasets/base.py, src/sentry/search/events/datasets/discover.py, src/sentry/search/events/datasets/filter_aliases.py, src/sentry/search/events/datasets/field_aliases.py, src/sentry/search/snuba/, src/sentry/search/utils.py, src/sentry/sentry_apps/, src/sentry/sentry_metrics/, src/sentry/services/http.py, src/sentry/services/base.py, src/sentry/services/hybrid_cloud/, src/sentry/shared_integrations/, src/sentry/silo/, src/sentry/snuba/entity_subscription.py, src/sentry/snuba/events.py, src/sentry/snuba/outcomes.py, src/sentry/snuba/query_subscriptions/, src/sentry/snuba/metrics/fields/histogram.py, src/sentry/snuba/metrics/fields/base.py, src/sentry/snuba/metrics/naming_layer/, src/sentry/snuba/metrics/query.py, src/sentry/snuba/profiles.py, src/sentry/spans/, src/sentry/tasks/app_store_connect.py, src/sentry/tasks/low_priority_symbolication.py, src/sentry/tasks/store.py, src/sentry/tasks/symbolication.py, src/sentry/tasks/update_user_reports.py, src/sentry/tasks/derive_code_mappings.py, src/sentry/tasks/weekly_escalating_forecast.py, src/sentry/testutils/modelmanifest.py, src/sentry/testutils/silo.py, src/sentry/types/region.py, src/sentry/unmerge.py, src/sentry/utils/appleconnect/, src/sentry/utils/arroyo.py, src/sentry/utils/assets.py, src/sentry/utils/audit.py, src/sentry/utils/auth.py, src/sentry/utils/avatar.py, src/sentry/utils/codecs.py, src/sentry/utils/committers.py, src/sentry/utils/cursors.py, src/sentry/utils/dates.py, src/sentry/utils/email/, src/sentry/utils/event_frames.py, src/sentry/utils/hashlib.py, src/sentry/utils/http.py, src/sentry/utils/integrationdocs.py, src/sentry/utils/json.py, src/sentry/utils/jwt.py, src/sentry/utils/kvstore, src/sentry/utils/metrics.py, src/sentry/utils/options.py, src/sentry/utils/outcomes.py, src/sentry/utils/pagination_factory.py, src/sentry/utils/patch_set.py, src/sentry/utils/request_cache.py, src/sentry/utils/services.py, src/sentry/utils/suspect_resolutions/commit_correlation.py, src/sentry/utils/suspect_resolutions/metric_correlation.py, src/sentry/utils/suspect_resolutions/resolved_in_active_release.py, src/sentry/utils/time_window.py, src/sentry/utils/yaml.py, src/sentry/web/decorators.py, src/sentry/web/frontend/base.py, src/sentry/web/helpers.py, tests/sentry/lang/native/test_appconnect.py, tests/sentry/post_process_forwarder, tests/sentry/processing/realtime_metrics/, tests/sentry/issues/, tests/sentry/tasks/test_low_priority_symbolication.py, tests/sentry/utils/appleconnect/, tools/ show_error_codes = true ; Enable all options used with --strict warn_unused_configs=True disallow_any_generics=True disallow_subclassing_any=True disallow_untyped_calls=True disallow_untyped_defs=True disallow_incomplete_defs=True check_untyped_defs=True disallow_untyped_decorators=True no_implicit_optional=True warn_unused_ignores=True warn_redundant_casts=True warn_return_any=True no_implicit_reexport=True plugins = pydantic.mypy ; Set this to skip until more of the codebase is typed [mypy-sentry.*] follow_imports = skip [mypy-bitfield.*] follow_imports = silent [mypy-sudo.*] follow_imports = silent [mypy-celery.*] ignore_missing_imports = True [mypy-confluent_kafka.*] ignore_missing_imports = True [mypy-django.*] ignore_missing_imports = True [mypy-docker.*] ignore_missing_imports = True [mypy-google.*] ignore_missing_imports = True [mypy-honcho.*] ignore_missing_imports = True [mypy-kombu] ignore_missing_imports = True [mypy-mistune.*] ignore_missing_imports = True [mypy-parsimonious.*] ignore_missing_imports = True [mypy-rb.*] ignore_missing_imports = True [mypy-rest_framework.*] ignore_missing_imports = True [mypy-sentry_relay.*] ignore_missing_imports = True [mypy-toronado] ignore_missing_imports = True [mypy-unidiff] ignore_missing_imports = True [mypy-msgpack] ignore_missing_imports = True [mypy-rapidjson] ignore_missing_imports = True # TODO: these cause type errors when followed [mypy-snuba_sdk.*] follow_imports = skip # this package marks itself as typed but has no annotations [mypy-google.cloud.bigtable.*] follow_imports = skip # https://github.com/googleapis/python-api-core/pull/453 [mypy-google.api_core.retry] follow_imports = skip