pyproject.toml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. [build-system]
  2. requires = ["setuptools>=40.2.0,<64.0.0", "wheel"]
  3. build-backend = "setuptools.build_meta"
  4. [tool.black]
  5. # File filtering is taken care of in pre-commit.
  6. line-length = 100
  7. target-version = ['py38']
  8. [tool.isort]
  9. profile = "black"
  10. line_length = 100
  11. lines_between_sections = 1
  12. known_first_party = "sentry"
  13. skip = "migrations"
  14. [tool.pytest.ini_options]
  15. python_files = "test_*.py sentry/testutils/*"
  16. # note: When updating the traceback format, make sure to update .github/pytest.json
  17. # We don't use the celery pytest plugin.
  18. addopts = "-ra --tb=short --strict-markers -p no:celery"
  19. # TODO: --import-mode=importlib will become the default soon,
  20. # currently we have a few relative imports that don't work with that.
  21. markers = [
  22. "snuba: test requires access to snuba",
  23. "snuba_ci: test is run in snuba ci",
  24. "sentry_metrics: test requires access to sentry metrics",
  25. "symbolicator: test requires access to symbolicator",
  26. ]
  27. selenium_driver = "chrome"
  28. filterwarnings = [
  29. # Consider all warnings to be errors other than the ignored ones.
  30. "error",
  31. # a bunch of google packages use legacy namespace packages
  32. "ignore:pkg_resources is deprecated as an API",
  33. "ignore:Deprecated call to `pkg_resources.declare_namespace\\('google.*'\\)`.",
  34. # The following warning filters are for pytest only.
  35. # This is so we don't have to wrap most datetime objects in testing code
  36. # with django.utils.timezone.
  37. "ignore:DateTimeField.*naive datetime:RuntimeWarning",
  38. "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
  39. # pytest has not yet implemented the replacement for this yet
  40. "ignore:The --looponfail command line argument.*",
  41. ]
  42. looponfailroots = ["src", "tests"]
  43. [tool.mypy]
  44. python_version = "3.8"
  45. mypy_path = ["fixtures/stubs-for-mypy"]
  46. plugins = ["pydantic.mypy", "mypy_django_plugin.main", "tools.mypy_helpers.plugin"]
  47. files = ["."]
  48. exclude = ["^.venv/", "^self-hosted/"]
  49. # minimal strictness settings
  50. check_untyped_defs = true
  51. no_implicit_reexport = true
  52. warn_unreachable = true
  53. warn_unused_configs = true
  54. warn_unused_ignores = true
  55. warn_redundant_casts = true
  56. [tool.django-stubs]
  57. django_settings_module = "sentry.conf.server_mypy"
  58. # these have py.typed but incorrect types
  59. [[tool.mypy.overrides]]
  60. module = [
  61. # TODO: these cause type errors when followed
  62. "snuba_sdk.*",
  63. ]
  64. follow_imports = "skip"
  65. # python3 -m tools.mypy_helpers.make_stub_ignores
  66. # begin: missing 3rd party stubs
  67. # - add .pyi files to fixtures/stubs-for-mypy
  68. # - or find a 3rd party stub
  69. [[tool.mypy.overrides]]
  70. module = [
  71. "amqp.*",
  72. "boto3.*",
  73. "botocore.client.*",
  74. "botocore.exceptions.*",
  75. "celery.*",
  76. "confluent_kafka.*",
  77. "cssselect.*",
  78. "datadog.*",
  79. "django_zero_downtime_migrations.backends.postgres.schema.*",
  80. "docker.*",
  81. "fido2.*",
  82. "google.auth.*",
  83. "google.cloud.pubsub_v1.*",
  84. "google.cloud.storage.blob.*",
  85. "google.cloud.storage.bucket.*",
  86. "google.cloud.storage.client.*",
  87. "google.resumable_media.common.*",
  88. "google.rpc.status_pb2.*",
  89. "google_crc32c.*",
  90. "honcho.manager.*",
  91. "honcho.printer.*",
  92. "kombu.*",
  93. "mistune.*",
  94. "onelogin.saml2.auth.*",
  95. "onelogin.saml2.constants.*",
  96. "onelogin.saml2.idp_metadata_parser.*",
  97. "openapi_core.*",
  98. "phabricator.*",
  99. "progressbar.*",
  100. "rb.*",
  101. "requests_oauthlib.*",
  102. "sqlparse.*",
  103. "statsd.*",
  104. "u2flib_server.model.*",
  105. "ua_parser.user_agent_parser.*",
  106. "unidiff.*",
  107. ]
  108. ignore_missing_imports = true
  109. # end: missing 3rd party stubs
  110. # python3 -m tools.mypy_helpers.make_module_ignores
  111. # begin: sentry modules with typing issues
  112. # - remove the module from the list and fix the issues!
  113. # - python3 -m tools.mypy_helpers.find_easiest_modules
  114. [[tool.mypy.overrides]]
  115. module = [
  116. "sentry.api.base",
  117. "sentry.api.bases.external_actor",
  118. "sentry.api.bases.incident",
  119. "sentry.api.bases.integration",
  120. "sentry.api.bases.organization_events",
  121. "sentry.api.bases.organization_request_change",
  122. "sentry.api.bases.organizationmember",
  123. "sentry.api.bases.project",
  124. "sentry.api.bases.project_request_change",
  125. "sentry.api.bases.rule",
  126. "sentry.api.bases.sentryapps",
  127. "sentry.api.bases.team",
  128. "sentry.api.endpoints.accept_organization_invite",
  129. "sentry.api.endpoints.artifact_lookup",
  130. "sentry.api.endpoints.auth_config",
  131. "sentry.api.endpoints.auth_login",
  132. "sentry.api.endpoints.catchall",
  133. "sentry.api.endpoints.chunk",
  134. "sentry.api.endpoints.codeowners",
  135. "sentry.api.endpoints.codeowners.index",
  136. "sentry.api.endpoints.event_apple_crash_report",
  137. "sentry.api.endpoints.event_attachments",
  138. "sentry.api.endpoints.group_details",
  139. "sentry.api.endpoints.group_event_details",
  140. "sentry.api.endpoints.group_events",
  141. "sentry.api.endpoints.group_external_issues",
  142. "sentry.api.endpoints.group_hashes",
  143. "sentry.api.endpoints.group_hashes_split",
  144. "sentry.api.endpoints.group_integration_details",
  145. "sentry.api.endpoints.group_integrations",
  146. "sentry.api.endpoints.group_notes",
  147. "sentry.api.endpoints.group_similar_issues",
  148. "sentry.api.endpoints.group_tagkey_details",
  149. "sentry.api.endpoints.group_tagkey_values",
  150. "sentry.api.endpoints.group_tags",
  151. "sentry.api.endpoints.index",
  152. "sentry.api.endpoints.integration_features",
  153. "sentry.api.endpoints.integrations.install_request",
  154. "sentry.api.endpoints.integrations.plugins.configs_index",
  155. "sentry.api.endpoints.integrations.sentry_apps.details",
  156. "sentry.api.endpoints.integrations.sentry_apps.index",
  157. "sentry.api.endpoints.integrations.sentry_apps.installation.details",
  158. "sentry.api.endpoints.integrations.sentry_apps.installation.index",
  159. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.details",
  160. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.index",
  161. "sentry.api.endpoints.integrations.sentry_apps.publish_request",
  162. "sentry.api.endpoints.integrations.sentry_apps.requests",
  163. "sentry.api.endpoints.integrations.sentry_apps.stats.details",
  164. "sentry.api.endpoints.integrations.sentry_apps.stats.index",
  165. "sentry.api.endpoints.internal.mail",
  166. "sentry.api.endpoints.notifications.notification_actions_available",
  167. "sentry.api.endpoints.notifications.notification_actions_details",
  168. "sentry.api.endpoints.organization_access_request_details",
  169. "sentry.api.endpoints.organization_code_mapping_codeowners",
  170. "sentry.api.endpoints.organization_code_mapping_details",
  171. "sentry.api.endpoints.organization_code_mappings",
  172. "sentry.api.endpoints.organization_dashboard_details",
  173. "sentry.api.endpoints.organization_dashboards",
  174. "sentry.api.endpoints.organization_details",
  175. "sentry.api.endpoints.organization_events",
  176. "sentry.api.endpoints.organization_events_facets",
  177. "sentry.api.endpoints.organization_events_facets_performance",
  178. "sentry.api.endpoints.organization_events_facets_stats_performance",
  179. "sentry.api.endpoints.organization_events_has_measurements",
  180. "sentry.api.endpoints.organization_events_meta",
  181. "sentry.api.endpoints.organization_events_spans_performance",
  182. "sentry.api.endpoints.organization_events_stats",
  183. "sentry.api.endpoints.organization_events_trace",
  184. "sentry.api.endpoints.organization_events_trends",
  185. "sentry.api.endpoints.organization_group_index",
  186. "sentry.api.endpoints.organization_index",
  187. "sentry.api.endpoints.organization_issues_count",
  188. "sentry.api.endpoints.organization_member.details",
  189. "sentry.api.endpoints.organization_member.index",
  190. "sentry.api.endpoints.organization_member.requests.invite.details",
  191. "sentry.api.endpoints.organization_member.requests.join",
  192. "sentry.api.endpoints.organization_member_unreleased_commits",
  193. "sentry.api.endpoints.organization_metrics",
  194. "sentry.api.endpoints.organization_metrics_meta",
  195. "sentry.api.endpoints.organization_onboarding_continuation_email",
  196. "sentry.api.endpoints.organization_projects",
  197. "sentry.api.endpoints.organization_projects_experiment",
  198. "sentry.api.endpoints.organization_release_details",
  199. "sentry.api.endpoints.organization_releases",
  200. "sentry.api.endpoints.organization_repositories",
  201. "sentry.api.endpoints.organization_repository_details",
  202. "sentry.api.endpoints.organization_request_project_creation",
  203. "sentry.api.endpoints.organization_search_details",
  204. "sentry.api.endpoints.organization_searches",
  205. "sentry.api.endpoints.organization_sentry_function_details",
  206. "sentry.api.endpoints.organization_sessions",
  207. "sentry.api.endpoints.organization_stats",
  208. "sentry.api.endpoints.organization_tagkey_values",
  209. "sentry.api.endpoints.organization_tags",
  210. "sentry.api.endpoints.organization_teams",
  211. "sentry.api.endpoints.project_app_store_connect_credentials",
  212. "sentry.api.endpoints.project_artifact_bundle_file_details",
  213. "sentry.api.endpoints.project_details",
  214. "sentry.api.endpoints.project_event_details",
  215. "sentry.api.endpoints.project_group_index",
  216. "sentry.api.endpoints.project_index",
  217. "sentry.api.endpoints.project_key_stats",
  218. "sentry.api.endpoints.project_ownership",
  219. "sentry.api.endpoints.project_release_files",
  220. "sentry.api.endpoints.project_release_stats",
  221. "sentry.api.endpoints.project_repo_path_parsing",
  222. "sentry.api.endpoints.project_rule_details",
  223. "sentry.api.endpoints.project_rule_preview",
  224. "sentry.api.endpoints.project_rule_task_details",
  225. "sentry.api.endpoints.project_rules",
  226. "sentry.api.endpoints.project_rules_configuration",
  227. "sentry.api.endpoints.project_servicehook_stats",
  228. "sentry.api.endpoints.project_stacktrace_link",
  229. "sentry.api.endpoints.project_stacktrace_links",
  230. "sentry.api.endpoints.project_tagkey_details",
  231. "sentry.api.endpoints.project_tagkey_values",
  232. "sentry.api.endpoints.project_tags",
  233. "sentry.api.endpoints.project_transaction_names",
  234. "sentry.api.endpoints.project_transfer",
  235. "sentry.api.endpoints.prompts_activity",
  236. "sentry.api.endpoints.rule_snooze",
  237. "sentry.api.endpoints.setup_wizard",
  238. "sentry.api.endpoints.shared_group_details",
  239. "sentry.api.endpoints.source_map_debug",
  240. "sentry.api.endpoints.team_details",
  241. "sentry.api.endpoints.team_release_count",
  242. "sentry.api.endpoints.team_time_to_resolution",
  243. "sentry.api.endpoints.user_authenticator_enroll",
  244. "sentry.api.endpoints.user_details",
  245. "sentry.api.endpoints.user_emails_confirm",
  246. "sentry.api.endpoints.user_identity_config",
  247. "sentry.api.endpoints.user_index",
  248. "sentry.api.endpoints.user_notification_details",
  249. "sentry.api.endpoints.user_permission_details",
  250. "sentry.api.endpoints.user_permissions",
  251. "sentry.api.endpoints.user_permissions_config",
  252. "sentry.api.endpoints.user_role_details",
  253. "sentry.api.endpoints.user_roles",
  254. "sentry.api.endpoints.user_subscriptions",
  255. "sentry.api.event_search",
  256. "sentry.api.helpers.deprecation",
  257. "sentry.api.helpers.events",
  258. "sentry.api.helpers.group_index.delete",
  259. "sentry.api.helpers.group_index.index",
  260. "sentry.api.helpers.group_index.update",
  261. "sentry.api.helpers.group_index.validators.in_commit",
  262. "sentry.api.helpers.group_index.validators.status_details",
  263. "sentry.api.invite_helper",
  264. "sentry.api.issue_search",
  265. "sentry.api.paginator",
  266. "sentry.api.permissions",
  267. "sentry.api.serializers.models.auth_provider",
  268. "sentry.api.serializers.models.dashboard",
  269. "sentry.api.serializers.models.doc_integration",
  270. "sentry.api.serializers.models.environment",
  271. "sentry.api.serializers.models.event",
  272. "sentry.api.serializers.models.external_actor",
  273. "sentry.api.serializers.models.group",
  274. "sentry.api.serializers.models.group_stream",
  275. "sentry.api.serializers.models.incident",
  276. "sentry.api.serializers.models.integration",
  277. "sentry.api.serializers.models.integration_feature",
  278. "sentry.api.serializers.models.notification_action",
  279. "sentry.api.serializers.models.organization",
  280. "sentry.api.serializers.models.organization_member.base",
  281. "sentry.api.serializers.models.plugin",
  282. "sentry.api.serializers.models.project",
  283. "sentry.api.serializers.models.projectcodeowners",
  284. "sentry.api.serializers.models.role",
  285. "sentry.api.serializers.models.rule",
  286. "sentry.api.serializers.models.sentry_app",
  287. "sentry.api.serializers.models.team",
  288. "sentry.api.serializers.models.user",
  289. "sentry.api.serializers.models.user_identity_config",
  290. "sentry.api.serializers.rest_framework.dashboard",
  291. "sentry.api.serializers.rest_framework.doc_integration",
  292. "sentry.api.serializers.rest_framework.mentions",
  293. "sentry.api.serializers.rest_framework.notification_action",
  294. "sentry.api.serializers.rest_framework.release",
  295. "sentry.api.serializers.rest_framework.rule",
  296. "sentry.api.serializers.rest_framework.sentry_app_request",
  297. "sentry.api.serializers.snuba",
  298. "sentry.api.validators.email",
  299. "sentry.auth.helper",
  300. "sentry.auth.provider",
  301. "sentry.auth.providers.dummy",
  302. "sentry.auth.providers.github.views",
  303. "sentry.auth.providers.google.views",
  304. "sentry.auth.providers.oauth2",
  305. "sentry.auth.providers.saml2.generic.views",
  306. "sentry.auth.providers.saml2.provider",
  307. "sentry.auth.providers.saml2.rippling.provider",
  308. "sentry.auth.providers.saml2.views",
  309. "sentry.auth.system",
  310. "sentry.auth.view",
  311. "sentry.db.mixin",
  312. "sentry.db.models.manager.base",
  313. "sentry.db.models.paranoia",
  314. "sentry.db.models.query",
  315. "sentry.db.models.utils",
  316. "sentry.db.postgres.base",
  317. "sentry.db.postgres.creation",
  318. "sentry.db.postgres.decorators",
  319. "sentry.db.router",
  320. "sentry.digests.notifications",
  321. "sentry.discover.endpoints.discover_key_transactions",
  322. "sentry.discover.endpoints.serializers",
  323. "sentry.eventstore.models",
  324. "sentry.features.handler",
  325. "sentry.features.manager",
  326. "sentry.grouping.fingerprinting",
  327. "sentry.grouping.strategies.base",
  328. "sentry.grouping.strategies.configurations",
  329. "sentry.grouping.strategies.hierarchical",
  330. "sentry.grouping.strategies.legacy",
  331. "sentry.grouping.strategies.newstyle",
  332. "sentry.identity.bitbucket.provider",
  333. "sentry.identity.github_enterprise.provider",
  334. "sentry.identity.gitlab.provider",
  335. "sentry.identity.oauth2",
  336. "sentry.identity.pipeline",
  337. "sentry.identity.providers.dummy",
  338. "sentry.identity.slack.provider",
  339. "sentry.identity.vsts.provider",
  340. "sentry.incidents.endpoints.bases",
  341. "sentry.incidents.endpoints.organization_alert_rule_details",
  342. "sentry.incidents.endpoints.organization_alert_rule_index",
  343. "sentry.incidents.endpoints.organization_incident_comment_details",
  344. "sentry.incidents.endpoints.organization_incident_index",
  345. "sentry.incidents.endpoints.project_alert_rule_task_details",
  346. "sentry.incidents.events",
  347. "sentry.incidents.logic",
  348. "sentry.incidents.models",
  349. "sentry.incidents.subscription_processor",
  350. "sentry.incidents.tasks",
  351. "sentry.ingest.inbound_filters",
  352. "sentry.integrations.aws_lambda.integration",
  353. "sentry.integrations.base",
  354. "sentry.integrations.bitbucket.client",
  355. "sentry.integrations.bitbucket.installed",
  356. "sentry.integrations.bitbucket.integration",
  357. "sentry.integrations.bitbucket.issues",
  358. "sentry.integrations.bitbucket.uninstalled",
  359. "sentry.integrations.bitbucket.webhook",
  360. "sentry.integrations.bitbucket_server.client",
  361. "sentry.integrations.bitbucket_server.integration",
  362. "sentry.integrations.bitbucket_server.webhook",
  363. "sentry.integrations.example.integration",
  364. "sentry.integrations.example.repository",
  365. "sentry.integrations.github.client",
  366. "sentry.integrations.github.integration",
  367. "sentry.integrations.github.issues",
  368. "sentry.integrations.github.repository",
  369. "sentry.integrations.github.webhook",
  370. "sentry.integrations.github_enterprise.integration",
  371. "sentry.integrations.github_enterprise.webhook",
  372. "sentry.integrations.gitlab.client",
  373. "sentry.integrations.gitlab.integration",
  374. "sentry.integrations.gitlab.issues",
  375. "sentry.integrations.gitlab.webhooks",
  376. "sentry.integrations.jira.actions.form",
  377. "sentry.integrations.jira.client",
  378. "sentry.integrations.jira.endpoints.search",
  379. "sentry.integrations.jira.integration",
  380. "sentry.integrations.jira.views.base",
  381. "sentry.integrations.jira.views.sentry_issue_details",
  382. "sentry.integrations.jira.webhooks.base",
  383. "sentry.integrations.jira.webhooks.issue_updated",
  384. "sentry.integrations.jira_server.client",
  385. "sentry.integrations.jira_server.integration",
  386. "sentry.integrations.jira_server.search",
  387. "sentry.integrations.jira_server.webhooks",
  388. "sentry.integrations.manager",
  389. "sentry.integrations.message_builder",
  390. "sentry.integrations.metric_alerts",
  391. "sentry.integrations.mixins.issues",
  392. "sentry.integrations.mixins.notifications",
  393. "sentry.integrations.mixins.repositories",
  394. "sentry.integrations.msteams.actions.form",
  395. "sentry.integrations.msteams.card_builder.base",
  396. "sentry.integrations.msteams.card_builder.issues",
  397. "sentry.integrations.msteams.card_builder.notifications",
  398. "sentry.integrations.msteams.client",
  399. "sentry.integrations.msteams.integration",
  400. "sentry.integrations.msteams.link_identity",
  401. "sentry.integrations.msteams.notifications",
  402. "sentry.integrations.msteams.webhook",
  403. "sentry.integrations.notifications",
  404. "sentry.integrations.pagerduty.actions.form",
  405. "sentry.integrations.pagerduty.client",
  406. "sentry.integrations.pagerduty.integration",
  407. "sentry.integrations.pipeline",
  408. "sentry.integrations.slack.actions.form",
  409. "sentry.integrations.slack.client",
  410. "sentry.integrations.slack.integration",
  411. "sentry.integrations.slack.message_builder.issues",
  412. "sentry.integrations.slack.message_builder.notifications.digest",
  413. "sentry.integrations.slack.message_builder.notifications.issues",
  414. "sentry.integrations.slack.notifications",
  415. "sentry.integrations.slack.unfurl.discover",
  416. "sentry.integrations.slack.utils.channel",
  417. "sentry.integrations.slack.utils.users",
  418. "sentry.integrations.slack.views.link_identity",
  419. "sentry.integrations.slack.views.link_team",
  420. "sentry.integrations.slack.views.unlink_team",
  421. "sentry.integrations.slack.webhooks.action",
  422. "sentry.integrations.slack.webhooks.base",
  423. "sentry.integrations.slack.webhooks.command",
  424. "sentry.integrations.slack.webhooks.event",
  425. "sentry.integrations.utils.commit_context",
  426. "sentry.integrations.utils.sync",
  427. "sentry.integrations.vercel.client",
  428. "sentry.integrations.vercel.integration",
  429. "sentry.integrations.vercel.webhook",
  430. "sentry.integrations.vsts.client",
  431. "sentry.integrations.vsts.integration",
  432. "sentry.integrations.vsts.issues",
  433. "sentry.integrations.vsts.repository",
  434. "sentry.integrations.vsts_extension.integration",
  435. "sentry.issues.escalating_group_forecast",
  436. "sentry.issues.ingest",
  437. "sentry.issues.issue_occurrence",
  438. "sentry.issues.merge",
  439. "sentry.issues.occurrence_consumer",
  440. "sentry.issues.search",
  441. "sentry.issues.status_change",
  442. "sentry.mail.adapter",
  443. "sentry.mail.notifications",
  444. "sentry.management.commands.makemigrations",
  445. "sentry.management.commands.send_fake_data",
  446. "sentry.middleware.access_log",
  447. "sentry.middleware.auth",
  448. "sentry.middleware.ratelimit",
  449. "sentry.middleware.subdomain",
  450. "sentry.middleware.superuser",
  451. "sentry.models.artifactbundle",
  452. "sentry.models.auditlogentry",
  453. "sentry.models.integrations.external_issue",
  454. "sentry.models.integrations.sentry_app_installation",
  455. "sentry.models.organizationaccessrequest",
  456. "sentry.models.organizationmember",
  457. "sentry.monitors.consumers.monitor_consumer",
  458. "sentry.monitors.endpoints.base",
  459. "sentry.monitors.endpoints.monitor_ingest_checkin_attachment",
  460. "sentry.monitors.endpoints.monitor_ingest_checkin_details",
  461. "sentry.monitors.endpoints.monitor_ingest_checkin_index",
  462. "sentry.monitors.endpoints.organization_monitor_checkin_attachment",
  463. "sentry.monitors.endpoints.organization_monitor_index",
  464. "sentry.monitors.utils",
  465. "sentry.monkey.pickle",
  466. "sentry.net.http",
  467. "sentry.net.socket",
  468. "sentry.notifications.additional_attachment_manager",
  469. "sentry.notifications.notifications.activity.base",
  470. "sentry.notifications.notifications.activity.new_processing_issues",
  471. "sentry.notifications.notifications.activity.release",
  472. "sentry.notifications.notifications.integration_nudge",
  473. "sentry.notifications.notifications.rules",
  474. "sentry.ownership.grammar",
  475. "sentry.pipeline.base",
  476. "sentry.pipeline.views.base",
  477. "sentry.pipeline.views.nested",
  478. "sentry.plugins.base.notifier",
  479. "sentry.plugins.base.urls",
  480. "sentry.plugins.bases.data_forwarding",
  481. "sentry.plugins.bases.issue",
  482. "sentry.plugins.bases.issue2",
  483. "sentry.plugins.bases.notify",
  484. "sentry.plugins.config",
  485. "sentry.plugins.endpoints",
  486. "sentry.plugins.providers.base",
  487. "sentry.plugins.providers.integration_repository",
  488. "sentry.plugins.providers.repository",
  489. "sentry.profiles.task",
  490. "sentry.profiles.utils",
  491. "sentry.quotas.redis",
  492. "sentry.receivers.outbox.control",
  493. "sentry.receivers.releases",
  494. "sentry.receivers.sentry_apps",
  495. "sentry.release_health.metrics_sessions_v2",
  496. "sentry.release_health.sessions",
  497. "sentry.release_health.tasks",
  498. "sentry.replays.endpoints.project_replay_clicks_index",
  499. "sentry.replays.lib.query",
  500. "sentry.reprocessing2",
  501. "sentry.rules.actions.integrations.base",
  502. "sentry.rules.actions.integrations.create_ticket.form",
  503. "sentry.rules.actions.integrations.create_ticket.utils",
  504. "sentry.rules.actions.notify_event_service",
  505. "sentry.rules.conditions.event_attribute",
  506. "sentry.rules.conditions.event_frequency",
  507. "sentry.rules.conditions.level",
  508. "sentry.rules.conditions.tagged_event",
  509. "sentry.rules.filters.assigned_to",
  510. "sentry.rules.filters.latest_release",
  511. "sentry.rules.history.endpoints.project_rule_group_history",
  512. "sentry.rules.history.endpoints.project_rule_stats",
  513. "sentry.rules.history.preview",
  514. "sentry.scim.endpoints.members",
  515. "sentry.scim.endpoints.teams",
  516. "sentry.scim.endpoints.utils",
  517. "sentry.sdk_updates",
  518. "sentry.search.events.builder.discover",
  519. "sentry.search.events.builder.errors",
  520. "sentry.search.events.builder.metrics",
  521. "sentry.search.events.datasets.discover",
  522. "sentry.search.events.datasets.filter_aliases",
  523. "sentry.search.events.datasets.function_aliases",
  524. "sentry.search.events.datasets.metrics",
  525. "sentry.search.events.datasets.metrics_layer",
  526. "sentry.search.events.datasets.profile_functions",
  527. "sentry.search.events.datasets.profiles",
  528. "sentry.search.events.datasets.spans_metrics",
  529. "sentry.search.events.fields",
  530. "sentry.search.events.filter",
  531. "sentry.search.events.types",
  532. "sentry.search.snuba.backend",
  533. "sentry.search.snuba.executors",
  534. "sentry.search.utils",
  535. "sentry.sentry_apps.apps",
  536. "sentry.sentry_apps.installations",
  537. "sentry.sentry_metrics.configuration",
  538. "sentry.sentry_metrics.consumers.indexer.slicing_router",
  539. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  540. "sentry.shared_integrations.client.base",
  541. "sentry.shared_integrations.client.proxy",
  542. "sentry.similarity.features",
  543. "sentry.snuba.discover",
  544. "sentry.snuba.errors",
  545. "sentry.snuba.issue_platform",
  546. "sentry.snuba.metrics.datasource",
  547. "sentry.snuba.metrics.fields.base",
  548. "sentry.snuba.metrics.query_builder",
  549. "sentry.snuba.sessions",
  550. "sentry.snuba.sessions_v2",
  551. "sentry.snuba.spans_indexed",
  552. "sentry.snuba.spans_metrics",
  553. "sentry.snuba.tasks",
  554. "sentry.stacktraces.functions",
  555. "sentry.tagstore.base",
  556. "sentry.tagstore.snuba.backend",
  557. "sentry.tagstore.types",
  558. "sentry.tasks.auth",
  559. "sentry.tasks.base",
  560. "sentry.tasks.codeowners.update_code_owners_schema",
  561. "sentry.tasks.commit_context",
  562. "sentry.tasks.deliver_from_outbox",
  563. "sentry.tasks.digests",
  564. "sentry.tasks.groupowner",
  565. "sentry.tasks.integrations",
  566. "sentry.tasks.integrations.github.pr_comment",
  567. "sentry.tasks.integrations.migrate_issues",
  568. "sentry.tasks.integrations.migrate_repo",
  569. "sentry.tasks.integrations.slack.find_channel_id_for_rule",
  570. "sentry.tasks.integrations.slack.link_slack_user_identities",
  571. "sentry.tasks.integrations.sync_assignee_outbound_impl",
  572. "sentry.tasks.integrations.sync_status_inbound",
  573. "sentry.tasks.integrations.sync_status_outbound",
  574. "sentry.tasks.merge",
  575. "sentry.tasks.process_buffer",
  576. "sentry.tasks.reprocessing2",
  577. "sentry.tasks.sentry_apps",
  578. "sentry.tasks.store",
  579. "sentry.tasks.unmerge",
  580. "sentry.templatetags.sentry_assets",
  581. "sentry.templatetags.sentry_helpers",
  582. "sentry.templatetags.sentry_plugins",
  583. "sentry.testutils.asserts",
  584. "sentry.testutils.cases",
  585. "sentry.testutils.factories",
  586. "sentry.testutils.fixtures",
  587. "sentry.testutils.helpers.features",
  588. "sentry.testutils.helpers.notifications",
  589. "sentry.testutils.helpers.slack",
  590. "sentry.testutils.helpers.task_runner",
  591. "sentry.testutils.performance_issues.span_builder",
  592. "sentry.testutils.performance_issues.store_transaction",
  593. "sentry.tsdb.base",
  594. "sentry.tsdb.dummy",
  595. "sentry.tsdb.inmemory",
  596. "sentry.tsdb.redis",
  597. "sentry.tsdb.snuba",
  598. "sentry.types.integrations",
  599. "sentry.utils.audit",
  600. "sentry.utils.auth",
  601. "sentry.utils.committers",
  602. "sentry.utils.concurrent",
  603. "sentry.utils.distutils.commands.base",
  604. "sentry.utils.distutils.commands.build_assets",
  605. "sentry.utils.email.signer",
  606. "sentry.utils.locking.backends.migration",
  607. "sentry.utils.performance_issues.detectors.io_main_thread_detector",
  608. "sentry.utils.performance_issues.detectors.mn_plus_one_db_span_detector",
  609. "sentry.utils.performance_issues.detectors.n_plus_one_api_calls_detector",
  610. "sentry.utils.performance_issues.detectors.n_plus_one_db_span_detector",
  611. "sentry.utils.performance_issues.detectors.render_blocking_asset_span_detector",
  612. "sentry.utils.performance_issues.detectors.slow_db_query_detector",
  613. "sentry.utils.performance_issues.performance_detection",
  614. "sentry.utils.redis",
  615. "sentry.utils.sentry_apps.webhooks",
  616. "sentry.utils.services",
  617. "sentry.utils.snowflake",
  618. "sentry.utils.snuba",
  619. "sentry.utils.suspect_resolutions.get_suspect_resolutions",
  620. "sentry.utils.suspect_resolutions_releases.get_suspect_resolutions_releases",
  621. "sentry.web.client_config",
  622. "sentry.web.forms.accounts",
  623. "sentry.web.frontend.account_identity",
  624. "sentry.web.frontend.accounts",
  625. "sentry.web.frontend.auth_close",
  626. "sentry.web.frontend.auth_login",
  627. "sentry.web.frontend.auth_logout",
  628. "sentry.web.frontend.auth_organization_login",
  629. "sentry.web.frontend.auth_provider_login",
  630. "sentry.web.frontend.base",
  631. "sentry.web.frontend.debug.debug_assigned_email",
  632. "sentry.web.frontend.debug.debug_codeowners_auto_sync_failure_email",
  633. "sentry.web.frontend.debug.debug_incident_activity_email",
  634. "sentry.web.frontend.debug.debug_incident_trigger_email",
  635. "sentry.web.frontend.debug.debug_mfa_added_email",
  636. "sentry.web.frontend.debug.debug_mfa_removed_email",
  637. "sentry.web.frontend.debug.debug_new_processing_issues_email",
  638. "sentry.web.frontend.debug.debug_organization_integration_request",
  639. "sentry.web.frontend.debug.debug_organization_invite_request",
  640. "sentry.web.frontend.debug.debug_organization_join_request",
  641. "sentry.web.frontend.debug.debug_password_changed_email",
  642. "sentry.web.frontend.debug.debug_recovery_codes_regenerated_email",
  643. "sentry.web.frontend.debug.debug_trigger_error",
  644. "sentry.web.frontend.disabled_member_view",
  645. "sentry.web.frontend.generic",
  646. "sentry.web.frontend.group_plugin_action",
  647. "sentry.web.frontend.idp_email_verification",
  648. "sentry.web.frontend.integration_extension_configuration",
  649. "sentry.web.frontend.js_sdk_loader",
  650. "sentry.web.frontend.newest_issue",
  651. "sentry.web.frontend.oauth_authorize",
  652. "sentry.web.frontend.oauth_token",
  653. "sentry.web.frontend.organization_integration_setup",
  654. "sentry.web.frontend.out",
  655. "sentry.web.frontend.pipeline_advancer",
  656. "sentry.web.frontend.project_event",
  657. "sentry.web.frontend.react_page",
  658. "sentry.web.frontend.reactivate_account",
  659. "sentry.web.frontend.setup_wizard",
  660. "sentry.web.frontend.shared_group_details",
  661. "sentry.web.frontend.twofactor",
  662. "sentry_plugins.asana.plugin",
  663. "sentry_plugins.base",
  664. "sentry_plugins.bitbucket.client",
  665. "sentry_plugins.bitbucket.endpoints.webhook",
  666. "sentry_plugins.bitbucket.mixins",
  667. "sentry_plugins.bitbucket.plugin",
  668. "sentry_plugins.bitbucket.repository_provider",
  669. "sentry_plugins.client",
  670. "sentry_plugins.github.client",
  671. "sentry_plugins.github.plugin",
  672. "sentry_plugins.github.webhooks.base",
  673. "sentry_plugins.github.webhooks.events.push",
  674. "sentry_plugins.github.webhooks.integration",
  675. "sentry_plugins.heroku.plugin",
  676. "sentry_plugins.jira.client",
  677. "sentry_plugins.jira.plugin",
  678. "sentry_plugins.pivotal.plugin",
  679. "sentry_plugins.pushover.plugin",
  680. "sentry_plugins.redmine.forms",
  681. "sentry_plugins.redmine.plugin",
  682. "sentry_plugins.slack.plugin",
  683. "sentry_plugins.splunk.plugin",
  684. "sentry_plugins.trello.plugin",
  685. "sentry_plugins.twilio.plugin",
  686. "tests.sentry.api.bases.test_organization",
  687. "tests.sentry.api.bases.test_project",
  688. "tests.sentry.api.bases.test_sentryapps",
  689. "tests.sentry.api.bases.test_team",
  690. "tests.sentry.api.endpoints.notifications.test_notification_actions_details",
  691. "tests.sentry.api.endpoints.notifications.test_notification_actions_index",
  692. "tests.sentry.api.endpoints.test_event_attachment_details",
  693. "tests.sentry.api.helpers.test_group_index",
  694. "tests.sentry.api.test_authentication",
  695. "tests.sentry.api.test_base",
  696. "tests.sentry.api.test_event_search",
  697. "tests.sentry.api.test_issue_search",
  698. "tests.sentry.digests.test_notifications",
  699. "tests.sentry.eventstore.test_base",
  700. "tests.sentry.grouping.test_result",
  701. "tests.sentry.identity.test_oauth2",
  702. "tests.sentry.incidents.test_logic",
  703. "tests.sentry.ingest.test_slicing",
  704. "tests.sentry.integrations.github.test_client",
  705. "tests.sentry.integrations.msteams.test_message_builder",
  706. "tests.sentry.integrations.slack.test_requests",
  707. "tests.sentry.issues.test_utils",
  708. "tests.sentry.models.test_organizationmember",
  709. "tests.sentry.replays.test_project_replay_recording_segment_index",
  710. "tests.sentry.replays.unit.test_dead_click_issue",
  711. "tests.sentry.tasks.test_post_process",
  712. ]
  713. disable_error_code = [
  714. "arg-type",
  715. "assignment",
  716. "attr-defined",
  717. "call-arg",
  718. "call-overload",
  719. "dict-item",
  720. "has-type",
  721. "index",
  722. "list-item",
  723. "misc",
  724. "operator",
  725. "override",
  726. "return-value",
  727. "typeddict-item",
  728. "typeddict-unknown-key",
  729. "union-attr",
  730. "unreachable",
  731. "var-annotated",
  732. ]
  733. # end: sentry modules with typing issues