forked from getsentry/sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.ini
87 lines (83 loc) · 3.1 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
[mypy]
python_version = 3.6
files = src/sentry/api/bases/external_actor.py,
src/sentry/api/endpoints/external_team.py,
src/sentry/api/endpoints/external_team_details.py,
src/sentry/api/endpoints/external_user.py,
src/sentry/api/endpoints/external_user_details.py,
src/sentry/api/endpoints/organization_events_trace.py,
src/sentry/api/endpoints/project_app_store_connect_credentials.py,
src/sentry/api/endpoints/project_codeowners.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_member.py,
src/sentry/api/serializers/models/team.py,
src/sentry/api/validators/external_actor.py,
src/sentry/api/validators/notifications.py,
src/sentry/db/models/manager/**/*.py,
src/sentry/digests/**/*.py,
src/sentry/features/**/*.py,
src/sentry/grouping/strategies/base.py,
src/sentry/grouping/strategies/message.py,
src/sentry/grouping/result.py,
src/sentry/integrations/slack/message_builder/**/*.py,
src/sentry/integrations/slack/requests/*.py,
src/sentry/integrations/slack/util/*.py,
src/sentry/integrations/slack/views/*.py,
src/sentry/killswitches.py,
src/sentry/lang/native/appconnect.py,
src/sentry/models/groupsubscription.py,
src/sentry/models/organizationoption.py,
src/sentry/models/projectoption.py,
src/sentry/models/useroption.py,
src/sentry/notifications/**/*.py,
src/sentry/snuba/outcomes.py,
src/sentry/snuba/query_subscription_consumer.py,
src/sentry/tasks/app_store_connect.py,
src/sentry/tasks/update_user_reports.py,
src/sentry/unmerge.py,
src/sentry/utils/appleconnect/,
src/sentry/utils/avatar.py,
src/sentry/utils/codecs.py,
src/sentry/utils/dates.py,
src/sentry/utils/jwt.py,
src/sentry/utils/kvstore,
src/sentry/utils/snql.py,
src/sentry/web/decorators.py,
tests/sentry/utils/appleconnect/
; 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_redundant_casts=True
warn_unused_ignores=True
warn_return_any=True
no_implicit_reexport=True
; Set this to skip until more of the codebase is typed
follow_imports = skip
[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-rb.*]
ignore_missing_imports = True
[mypy-rest_framework.*]
ignore_missing_imports = True
[mypy-sentry_relay.*]
ignore_missing_imports = True
[mypy-zstandard]
ignore_missing_imports = True