123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- [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_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_app_store_connect_credentials.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/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/releaseactivity.py,
- src/sentry/api/serializers/models/team.py,
- src/sentry/api/serializers/models/user.py,
- src/sentry/api/serializers/types.py,
- src/sentry/api/validators/external_actor.py,
- src/sentry/api/validators/notifications.py,
- src/sentry/apidocs/,
- 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/eventstream/base.py,
- src/sentry/eventstream/snuba.py,
- src/sentry/eventstream/kafka/consumer_strategy.py,
- src/sentry/eventstream/kafka/protocol.py,
- src/sentry/eventstream/kafka/state.py,
- src/sentry/eventstream/kafka/synchronized.py,
- 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/ingest/billing_metrics_consumer.py,
- src/sentry/integrations/base.py,
- src/sentry/integrations/github/,
- src/sentry/integrations/slack/,
- src/sentry/integrations/message_builder.py,
- src/sentry/integrations/utils/atlassian_connect.py,
- src/sentry/integrations/vsts/,
- src/sentry/issues/search.py,
- 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/processing/realtime_metrics/,
- src/sentry/profiles/,
- src/sentry/ratelimits/,
- src/sentry/relay/config/measurements.py,
- src/sentry/relay/config/metric_extraction.py,
- src/sentry/release_health/,
- src/sentry/replays/consumers/,
- 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.py,
- src/sentry/search/events/constants.py,
- src/sentry/search/events/types.py,
- src/sentry/search/snuba/,
- src/sentry/sentry_metrics/,
- src/sentry/services/http.py,
- src/sentry/services/base.py,
- src/sentry/shared_integrations/,
- src/sentry/silo.py,
- src/sentry/snuba/entity_subscription.py,
- src/sentry/snuba/outcomes.py,
- src/sentry/snuba/query_subscription_consumer.py,
- 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/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/testutils/modelmanifest.py,
- src/sentry/testutils/silo.py,
- src/sentry/types/region.py,
- src/sentry/unmerge.py,
- src/sentry/utils/appleconnect/,
- src/sentry/utils/assets.py,
- src/sentry/utils/hashlib.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/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/http.py,
- src/sentry/utils/integrationdocs.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/patch_set.py,
- src/sentry/utils/services.py,
- src/sentry/utils/time_window.py,
- src/sentry/utils/yaml.py,
- src/sentry/web/decorators.py,
- tests/sentry/eventstream/kafka/test_consumer_strategy.py,
- tests/sentry/eventstream/kafka/test_synchronized.py,
- tests/sentry/lang/native/test_appconnect.py,
- tests/sentry/processing/realtime_metrics/,
- 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
- ; Set this to skip until more of the codebase is typed
- [mypy-sentry.*]
- follow_imports = skip
- [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
|