forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
175 lines (170 loc) · 6.41 KB
/
mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
[mypy]
python_version = 3.8
files = 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/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/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/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/integrations/base.py,
src/sentry/integrations/github/,
src/sentry/integrations/slack/,
src/sentry/integrations/message_builder.py,
src/sentry/integrations/vsts/,
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/metric_extraction.py,
src/sentry/release_health/,
src/sentry/replays/consumers/,
src/sentry/roles/manager.py,
src/sentry/rules/,
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/servermode.py,
src/sentry/shared_integrations/,
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/unmerge.py,
src/sentry/utils/appleconnect/,
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/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/web/decorators.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
follow_imports = skip
[mypy-bs4]
ignore_missing_imports = True
[mypy-celery.*]
ignore_missing_imports = True
[mypy-confluent_kafka.*]
ignore_missing_imports = True
[mypy-django.*]
ignore_missing_imports = True
[mypy-google.*]
ignore_missing_imports = True
[mypy-jsonschema]
ignore_missing_imports = True
[mypy-lxml]
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
[mypy-drf_spectacular.utils]
follow_imports = normal