pyproject.toml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. [tool.black]
  2. # File filtering is taken care of in pre-commit.
  3. line-length = 100
  4. target-version = ['py311']
  5. [tool.isort]
  6. profile = "black"
  7. line_length = 100
  8. lines_between_sections = 1
  9. known_first_party = "sentry"
  10. skip = "migrations"
  11. [tool.pytest.ini_options]
  12. python_files = "test_*.py sentry/testutils/*"
  13. # note: When updating the traceback format, make sure to update .github/pytest.json
  14. # We don't use the celery pytest plugin.
  15. addopts = "--tb=short -p no:celery --nomigrations"
  16. # TODO: --import-mode=importlib will become the default soon,
  17. # currently we have a few relative imports that don't work with that.
  18. markers = [
  19. "snuba: test requires access to snuba",
  20. "snuba_ci: test is run in snuba ci",
  21. "sentry_metrics: test requires access to sentry metrics",
  22. "symbolicator: test requires access to symbolicator",
  23. "querybuilder: smoke tests for QueryBuilders",
  24. ]
  25. filterwarnings = [
  26. # Consider all warnings to be errors other than the ignored ones.
  27. "error",
  28. # phabricator uses `pkg_resources` apis
  29. "ignore:pkg_resources is deprecated as an API",
  30. # this warning in protobuf causes a segfault in 3.12+ protocolbuffers/protobuf#15077
  31. "ignore:Type google\\._upb.*",
  32. # The following warning filters are for pytest only.
  33. "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
  34. # pytest has not yet implemented the replacement for this yet
  35. "ignore:The --looponfail command line argument.*",
  36. ]
  37. looponfailroots = ["src", "tests"]
  38. [tool.mypy]
  39. python_version = "3.11"
  40. mypy_path = ["fixtures/stubs-for-mypy"]
  41. plugins = [
  42. "pydantic.mypy",
  43. "mypy_django_plugin.main",
  44. "tools.mypy_helpers.plugin",
  45. ]
  46. files = ["."]
  47. exclude = ["^.venv/", "^venv/", "^self-hosted/"]
  48. # minimal strictness settings
  49. check_untyped_defs = true
  50. no_implicit_reexport = true
  51. warn_unreachable = true
  52. warn_unused_configs = true
  53. warn_unused_ignores = true
  54. warn_redundant_casts = true
  55. enable_error_code = ["ignore-without-code", "redundant-self"]
  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. "boto3.*",
  72. "botocore.client.*",
  73. "botocore.exceptions.*",
  74. "celery.*",
  75. "confluent_kafka.*",
  76. "cssselect.*",
  77. "django_zero_downtime_migrations.backends.postgres.schema.*",
  78. "docker.*",
  79. "fido2.*",
  80. "google.auth.*",
  81. "google.cloud.*",
  82. "google.resumable_media.common.*",
  83. "google.rpc.status_pb2.*",
  84. "kombu.*",
  85. "mistune.*",
  86. "onelogin.saml2.auth.*",
  87. "onelogin.saml2.constants.*",
  88. "onelogin.saml2.idp_metadata_parser.*",
  89. "phabricator.*",
  90. "rb.*",
  91. "requests_oauthlib.*",
  92. "sqlparse.*",
  93. "statsd.*",
  94. "u2flib_server.model.*",
  95. "unidiff.*",
  96. ]
  97. ignore_missing_imports = true
  98. # end: missing 3rd party stubs
  99. # python3 -m tools.mypy_helpers.make_module_ignores
  100. # begin: sentry modules with typing issues
  101. # - remove the module from the list and fix the issues!
  102. # - python3 -m tools.mypy_helpers.find_easiest_modules
  103. [[tool.mypy.overrides]]
  104. module = [
  105. "sentry.api.base",
  106. "sentry.api.bases.organization_events",
  107. "sentry.api.bases.organization_request_change",
  108. "sentry.api.bases.organizationmember",
  109. "sentry.api.bases.project",
  110. "sentry.api.bases.project_request_change",
  111. "sentry.api.bases.sentryapps",
  112. "sentry.api.bases.team",
  113. "sentry.api.endpoints.accept_organization_invite",
  114. "sentry.api.endpoints.auth_config",
  115. "sentry.api.endpoints.auth_login",
  116. "sentry.api.endpoints.chunk",
  117. "sentry.api.endpoints.codeowners",
  118. "sentry.api.endpoints.codeowners.index",
  119. "sentry.api.endpoints.event_attachments",
  120. "sentry.api.endpoints.group_integration_details",
  121. "sentry.api.endpoints.group_integrations",
  122. "sentry.api.endpoints.index",
  123. "sentry.api.endpoints.integrations.sentry_apps.details",
  124. "sentry.api.endpoints.integrations.sentry_apps.index",
  125. "sentry.api.endpoints.integrations.sentry_apps.installation.index",
  126. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.index",
  127. "sentry.api.endpoints.integrations.sentry_apps.publish_request",
  128. "sentry.api.endpoints.integrations.sentry_apps.requests",
  129. "sentry.api.endpoints.integrations.sentry_apps.stats.details",
  130. "sentry.api.endpoints.internal.mail",
  131. "sentry.api.endpoints.organization_details",
  132. "sentry.api.endpoints.organization_events",
  133. "sentry.api.endpoints.organization_events_facets",
  134. "sentry.api.endpoints.organization_events_facets_performance",
  135. "sentry.api.endpoints.organization_events_meta",
  136. "sentry.api.endpoints.organization_events_spans_performance",
  137. "sentry.api.endpoints.organization_events_trends",
  138. "sentry.api.endpoints.organization_index",
  139. "sentry.api.endpoints.organization_issues_count",
  140. "sentry.api.endpoints.organization_member.details",
  141. "sentry.api.endpoints.organization_member.index",
  142. "sentry.api.endpoints.organization_member.requests.invite.details",
  143. "sentry.api.endpoints.organization_member_unreleased_commits",
  144. "sentry.api.endpoints.organization_metrics_meta",
  145. "sentry.api.endpoints.organization_onboarding_continuation_email",
  146. "sentry.api.endpoints.organization_projects",
  147. "sentry.api.endpoints.organization_projects_experiment",
  148. "sentry.api.endpoints.organization_releases",
  149. "sentry.api.endpoints.organization_request_project_creation",
  150. "sentry.api.endpoints.organization_search_details",
  151. "sentry.api.endpoints.organization_sessions",
  152. "sentry.api.endpoints.organization_stats",
  153. "sentry.api.endpoints.organization_teams",
  154. "sentry.api.endpoints.project_artifact_bundle_file_details",
  155. "sentry.api.endpoints.project_group_index",
  156. "sentry.api.endpoints.project_index",
  157. "sentry.api.endpoints.project_ownership",
  158. "sentry.api.endpoints.project_release_files",
  159. "sentry.api.endpoints.project_repo_path_parsing",
  160. "sentry.api.endpoints.project_rule_preview",
  161. "sentry.api.endpoints.project_rules_configuration",
  162. "sentry.api.endpoints.project_servicehook_stats",
  163. "sentry.api.endpoints.project_transaction_names",
  164. "sentry.api.endpoints.rule_snooze",
  165. "sentry.api.endpoints.team_details",
  166. "sentry.api.endpoints.team_release_count",
  167. "sentry.api.endpoints.team_time_to_resolution",
  168. "sentry.api.endpoints.user_details",
  169. "sentry.api.endpoints.user_subscriptions",
  170. "sentry.api.event_search",
  171. "sentry.api.helpers.group_index.index",
  172. "sentry.api.helpers.group_index.update",
  173. "sentry.api.invite_helper",
  174. "sentry.api.issue_search",
  175. "sentry.api.paginator",
  176. "sentry.api.permissions",
  177. "sentry.api.serializers.models.auth_provider",
  178. "sentry.api.serializers.models.dashboard",
  179. "sentry.api.serializers.models.environment",
  180. "sentry.api.serializers.models.event",
  181. "sentry.api.serializers.models.group",
  182. "sentry.api.serializers.models.group_stream",
  183. "sentry.api.serializers.models.notification_action",
  184. "sentry.api.serializers.models.organization",
  185. "sentry.api.serializers.models.plugin",
  186. "sentry.api.serializers.models.project",
  187. "sentry.api.serializers.models.role",
  188. "sentry.api.serializers.models.rule",
  189. "sentry.api.serializers.models.sentry_app",
  190. "sentry.api.serializers.models.team",
  191. "sentry.api.serializers.models.user",
  192. "sentry.api.serializers.models.user_identity_config",
  193. "sentry.api.serializers.rest_framework.mentions",
  194. "sentry.api.serializers.rest_framework.notification_action",
  195. "sentry.api.serializers.rest_framework.rule",
  196. "sentry.api.serializers.rest_framework.sentry_app_request",
  197. "sentry.api.serializers.snuba",
  198. "sentry.api.validators.email",
  199. "sentry.auth.helper",
  200. "sentry.auth.provider",
  201. "sentry.auth.system",
  202. "sentry.db.mixin",
  203. "sentry.db.postgres.base",
  204. "sentry.db.router",
  205. "sentry.digests.notifications",
  206. "sentry.discover.endpoints.discover_key_transactions",
  207. "sentry.eventstore.models",
  208. "sentry.features.handler",
  209. "sentry.features.manager",
  210. "sentry.grouping.strategies.hierarchical",
  211. "sentry.grouping.strategies.legacy",
  212. "sentry.identity.bitbucket.provider",
  213. "sentry.identity.github_enterprise.provider",
  214. "sentry.identity.gitlab.provider",
  215. "sentry.identity.oauth2",
  216. "sentry.identity.pipeline",
  217. "sentry.identity.providers.dummy",
  218. "sentry.identity.slack.provider",
  219. "sentry.incidents.endpoints.bases",
  220. "sentry.incidents.endpoints.organization_alert_rule_details",
  221. "sentry.incidents.endpoints.organization_alert_rule_index",
  222. "sentry.incidents.endpoints.organization_incident_comment_details",
  223. "sentry.incidents.endpoints.organization_incident_index",
  224. "sentry.incidents.logic",
  225. "sentry.incidents.subscription_processor",
  226. "sentry.incidents.tasks",
  227. "sentry.integrations.api.bases.integration",
  228. "sentry.integrations.aws_lambda.integration",
  229. "sentry.integrations.bitbucket.client",
  230. "sentry.integrations.bitbucket.installed",
  231. "sentry.integrations.bitbucket.integration",
  232. "sentry.integrations.bitbucket.issues",
  233. "sentry.integrations.bitbucket.uninstalled",
  234. "sentry.integrations.bitbucket_server.client",
  235. "sentry.integrations.bitbucket_server.integration",
  236. "sentry.integrations.example.integration",
  237. "sentry.integrations.example.repository",
  238. "sentry.integrations.github.client",
  239. "sentry.integrations.github.integration",
  240. "sentry.integrations.github.issues",
  241. "sentry.integrations.github_enterprise.integration",
  242. "sentry.integrations.gitlab.client",
  243. "sentry.integrations.gitlab.integration",
  244. "sentry.integrations.gitlab.issues",
  245. "sentry.integrations.jira.actions.form",
  246. "sentry.integrations.jira.client",
  247. "sentry.integrations.jira.integration",
  248. "sentry.integrations.jira.views.base",
  249. "sentry.integrations.jira.webhooks.base",
  250. "sentry.integrations.jira.webhooks.issue_updated",
  251. "sentry.integrations.jira_server.client",
  252. "sentry.integrations.jira_server.integration",
  253. "sentry.integrations.jira_server.webhooks",
  254. "sentry.integrations.message_builder",
  255. "sentry.integrations.metric_alerts",
  256. "sentry.integrations.mixins.issues",
  257. "sentry.integrations.mixins.notifications",
  258. "sentry.integrations.mixins.repositories",
  259. "sentry.integrations.msteams.actions.form",
  260. "sentry.integrations.msteams.client",
  261. "sentry.integrations.msteams.integration",
  262. "sentry.integrations.msteams.link_identity",
  263. "sentry.integrations.msteams.notifications",
  264. "sentry.integrations.msteams.webhook",
  265. "sentry.integrations.notifications",
  266. "sentry.integrations.pagerduty.actions.form",
  267. "sentry.integrations.pagerduty.client",
  268. "sentry.integrations.pagerduty.integration",
  269. "sentry.integrations.pipeline",
  270. "sentry.integrations.slack.actions.form",
  271. "sentry.integrations.slack.integration",
  272. "sentry.integrations.slack.message_builder.notifications.digest",
  273. "sentry.integrations.slack.message_builder.notifications.issues",
  274. "sentry.integrations.slack.notifications",
  275. "sentry.integrations.slack.unfurl.discover",
  276. "sentry.integrations.slack.utils.channel",
  277. "sentry.integrations.slack.utils.users",
  278. "sentry.integrations.slack.views.link_identity",
  279. "sentry.integrations.slack.views.link_team",
  280. "sentry.integrations.slack.views.unlink_team",
  281. "sentry.integrations.slack.webhooks.action",
  282. "sentry.integrations.slack.webhooks.command",
  283. "sentry.integrations.slack.webhooks.event",
  284. "sentry.integrations.utils.commit_context",
  285. "sentry.integrations.utils.sync",
  286. "sentry.integrations.vercel.client",
  287. "sentry.integrations.vercel.integration",
  288. "sentry.integrations.vercel.webhook",
  289. "sentry.integrations.vsts.client",
  290. "sentry.integrations.vsts.integration",
  291. "sentry.integrations.vsts.issues",
  292. "sentry.integrations.vsts.repository",
  293. "sentry.integrations.vsts_extension.integration",
  294. "sentry.issues.search",
  295. "sentry.middleware.access_log",
  296. "sentry.middleware.auth",
  297. "sentry.middleware.ratelimit",
  298. "sentry.middleware.superuser",
  299. "sentry.models.integrations.sentry_app_installation",
  300. "sentry.models.organizationaccessrequest",
  301. "sentry.monitors.consumers.monitor_consumer",
  302. "sentry.monitors.endpoints.base",
  303. "sentry.monitors.endpoints.monitor_ingest_checkin_attachment",
  304. "sentry.monitors.endpoints.organization_monitor_index",
  305. "sentry.net.http",
  306. "sentry.net.socket",
  307. "sentry.notifications.notifications.activity.base",
  308. "sentry.notifications.notifications.activity.release",
  309. "sentry.notifications.notifications.integration_nudge",
  310. "sentry.ownership.grammar",
  311. "sentry.pipeline.base",
  312. "sentry.pipeline.views.base",
  313. "sentry.pipeline.views.nested",
  314. "sentry.plugins.bases.data_forwarding",
  315. "sentry.plugins.bases.issue",
  316. "sentry.plugins.bases.issue2",
  317. "sentry.plugins.bases.notify",
  318. "sentry.plugins.config",
  319. "sentry.plugins.endpoints",
  320. "sentry.receivers.releases",
  321. "sentry.release_health.metrics_sessions_v2",
  322. "sentry.replays.endpoints.project_replay_clicks_index",
  323. "sentry.replays.lib.query",
  324. "sentry.rules.actions.integrations.base",
  325. "sentry.rules.actions.integrations.create_ticket.form",
  326. "sentry.rules.actions.integrations.create_ticket.utils",
  327. "sentry.rules.filters.assigned_to",
  328. "sentry.rules.history.preview",
  329. "sentry.scim.endpoints.members",
  330. "sentry.scim.endpoints.teams",
  331. "sentry.scim.endpoints.utils",
  332. "sentry.search.events.builder.errors",
  333. "sentry.search.events.builder.metrics",
  334. "sentry.search.events.datasets.discover",
  335. "sentry.search.events.datasets.filter_aliases",
  336. "sentry.search.events.datasets.function_aliases",
  337. "sentry.search.events.datasets.metrics",
  338. "sentry.search.events.datasets.metrics_layer",
  339. "sentry.search.events.fields",
  340. "sentry.search.events.filter",
  341. "sentry.search.snuba.executors",
  342. "sentry.search.utils",
  343. "sentry.sentry_apps.apps",
  344. "sentry.sentry_apps.installations",
  345. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  346. "sentry.shared_integrations.client.proxy",
  347. "sentry.similarity.features",
  348. "sentry.snuba.errors",
  349. "sentry.snuba.issue_platform",
  350. "sentry.snuba.metrics.datasource",
  351. "sentry.snuba.metrics.fields.base",
  352. "sentry.snuba.metrics.query_builder",
  353. "sentry.snuba.sessions_v2",
  354. "sentry.snuba.spans_indexed",
  355. "sentry.snuba.spans_metrics",
  356. "sentry.tagstore.snuba.backend",
  357. "sentry.tagstore.types",
  358. "sentry.tasks.auth",
  359. "sentry.tasks.base",
  360. "sentry.tasks.process_buffer",
  361. "sentry.tasks.sentry_apps",
  362. "sentry.templatetags.sentry_assets",
  363. "sentry.templatetags.sentry_helpers",
  364. "sentry.templatetags.sentry_plugins",
  365. "sentry.testutils.cases",
  366. "sentry.testutils.fixtures",
  367. "sentry.testutils.helpers.features",
  368. "sentry.testutils.helpers.notifications",
  369. "sentry.testutils.helpers.slack",
  370. "sentry.utils.auth",
  371. "sentry.utils.committers",
  372. "sentry.utils.services",
  373. "sentry.web.forms.accounts",
  374. "sentry.web.frontend.account_identity",
  375. "sentry.web.frontend.auth_close",
  376. "sentry.web.frontend.auth_login",
  377. "sentry.web.frontend.auth_logout",
  378. "sentry.web.frontend.auth_organization_login",
  379. "sentry.web.frontend.base",
  380. "sentry.web.frontend.debug.debug_codeowners_auto_sync_failure_email",
  381. "sentry.web.frontend.debug.debug_incident_activity_email",
  382. "sentry.web.frontend.debug.debug_incident_trigger_email",
  383. "sentry.web.frontend.debug.debug_mfa_added_email",
  384. "sentry.web.frontend.debug.debug_mfa_removed_email",
  385. "sentry.web.frontend.debug.debug_organization_integration_request",
  386. "sentry.web.frontend.debug.debug_organization_invite_request",
  387. "sentry.web.frontend.debug.debug_organization_join_request",
  388. "sentry.web.frontend.disabled_member_view",
  389. "sentry.web.frontend.group_plugin_action",
  390. "sentry.web.frontend.idp_email_verification",
  391. "sentry.web.frontend.js_sdk_loader",
  392. "sentry.web.frontend.newest_issue",
  393. "sentry.web.frontend.oauth_authorize",
  394. "sentry.web.frontend.oauth_token",
  395. "sentry.web.frontend.pipeline_advancer",
  396. "sentry.web.frontend.project_event",
  397. "sentry.web.frontend.react_page",
  398. "sentry.web.frontend.reactivate_account",
  399. "sentry.web.frontend.setup_wizard",
  400. "sentry.web.frontend.shared_group_details",
  401. "sentry.web.frontend.twofactor",
  402. "sentry_plugins.bitbucket.client",
  403. "sentry_plugins.bitbucket.mixins",
  404. "sentry_plugins.github.plugin",
  405. "sentry_plugins.jira.plugin",
  406. "tests.sentry.api.bases.test_organization",
  407. "tests.sentry.api.bases.test_project",
  408. "tests.sentry.api.bases.test_sentryapps",
  409. "tests.sentry.api.bases.test_team",
  410. "tests.sentry.api.endpoints.notifications.test_notification_actions_details",
  411. "tests.sentry.api.endpoints.notifications.test_notification_actions_index",
  412. "tests.sentry.api.endpoints.test_event_attachment_details",
  413. "tests.sentry.api.helpers.test_group_index",
  414. "tests.sentry.api.test_authentication",
  415. "tests.sentry.api.test_base",
  416. "tests.sentry.api.test_event_search",
  417. "tests.sentry.digests.test_notifications",
  418. "tests.sentry.eventstore.test_base",
  419. "tests.sentry.grouping.test_result",
  420. "tests.sentry.issues.test_utils",
  421. ]
  422. disable_error_code = [
  423. "arg-type",
  424. "assignment",
  425. "attr-defined",
  426. "call-arg",
  427. "call-overload",
  428. "dict-item",
  429. "has-type",
  430. "index",
  431. "misc",
  432. "operator",
  433. "override",
  434. "return-value",
  435. "typeddict-item",
  436. "typeddict-unknown-key",
  437. "union-attr",
  438. "unreachable",
  439. "var-annotated",
  440. ]
  441. # end: sentry modules with typing issues
  442. # begin: stronger typing
  443. [[tool.mypy.overrides]]
  444. module = [
  445. "sentry.api.endpoints.issues.*",
  446. "sentry.api.helpers.deprecation",
  447. "sentry.api.helpers.source_map_helper",
  448. "sentry.auth.services.*",
  449. "sentry.auth.view",
  450. "sentry.buffer.*",
  451. "sentry.build.*",
  452. "sentry.db.models.fields.citext",
  453. "sentry.db.models.fields.foreignkey",
  454. "sentry.db.models.fields.hybrid_cloud_foreign_key",
  455. "sentry.db.models.fields.types",
  456. "sentry.db.models.manager.*",
  457. "sentry.db.models.paranoia",
  458. "sentry.db.models.utils",
  459. "sentry.eventstore.reprocessing.redis",
  460. "sentry.eventtypes.error",
  461. "sentry.grouping.component",
  462. "sentry.grouping.fingerprinting",
  463. "sentry.grouping.parameterization",
  464. "sentry.hybridcloud.*",
  465. "sentry.ingest.slicing",
  466. "sentry.issues",
  467. "sentry.issues.analytics",
  468. "sentry.issues.apps",
  469. "sentry.issues.constants",
  470. "sentry.issues.endpoints",
  471. "sentry.issues.endpoints.group_events",
  472. "sentry.issues.endpoints.organization_group_search_views",
  473. "sentry.issues.endpoints.organization_release_previous_commits",
  474. "sentry.issues.endpoints.organization_searches",
  475. "sentry.issues.endpoints.project_stacktrace_link",
  476. "sentry.issues.escalating_group_forecast",
  477. "sentry.issues.escalating_issues_alg",
  478. "sentry.issues.forecasts",
  479. "sentry.issues.ignored",
  480. "sentry.issues.ingest",
  481. "sentry.issues.issue_occurrence",
  482. "sentry.issues.json_schemas",
  483. "sentry.issues.merge",
  484. "sentry.issues.occurrence_consumer",
  485. "sentry.issues.ongoing",
  486. "sentry.issues.priority",
  487. "sentry.issues.producer",
  488. "sentry.issues.query",
  489. "sentry.issues.receivers",
  490. "sentry.issues.related.*",
  491. "sentry.issues.run",
  492. "sentry.issues.status_change",
  493. "sentry.issues.status_change_consumer",
  494. "sentry.issues.status_change_message",
  495. "sentry.issues.update_inbox",
  496. "sentry.lang.java.processing",
  497. "sentry.llm.*",
  498. "sentry.mediators.sentry_app_installations.installation_notifier",
  499. "sentry.migrations.*",
  500. "sentry.models.event",
  501. "sentry.models.eventattachment",
  502. "sentry.models.groupsubscription",
  503. "sentry.models.integrations.integration_feature",
  504. "sentry.monkey",
  505. "sentry.nodestore.base",
  506. "sentry.nodestore.bigtable.backend",
  507. "sentry.nodestore.django.backend",
  508. "sentry.nodestore.django.models",
  509. "sentry.nodestore.filesystem.backend",
  510. "sentry.nodestore.models",
  511. "sentry.organizations.*",
  512. "sentry.plugins.base.response",
  513. "sentry.plugins.base.view",
  514. "sentry.profiles.*",
  515. "sentry.projects.services.*",
  516. "sentry.ratelimits.leaky_bucket",
  517. "sentry.relay.config.metric_extraction",
  518. "sentry.reprocessing2",
  519. "sentry.runner.*",
  520. "sentry.search.snuba.backend",
  521. "sentry.sentry_metrics.consumers.indexer.slicing_router",
  522. "sentry.snuba.metrics.extraction",
  523. "sentry.stacktraces.platform",
  524. "sentry.tasks.beacon",
  525. "sentry.tasks.commit_context",
  526. "sentry.tasks.on_demand_metrics",
  527. "sentry.tasks.reprocessing2",
  528. "sentry.tasks.store",
  529. "sentry.testutils.helpers.task_runner",
  530. "sentry.types.actor",
  531. "sentry.types.region",
  532. "sentry.users.*",
  533. "sentry.utils.arroyo",
  534. "sentry.utils.assets",
  535. "sentry.utils.audit",
  536. "sentry.utils.celery",
  537. "sentry.utils.codeowners",
  538. "sentry.utils.colors",
  539. "sentry.utils.email.*",
  540. "sentry.utils.env",
  541. "sentry.utils.event",
  542. "sentry.utils.files",
  543. "sentry.utils.geo",
  544. "sentry.utils.imports",
  545. "sentry.utils.iterators",
  546. "sentry.utils.javascript",
  547. "sentry.utils.lazy_service_wrapper",
  548. "sentry.utils.locking.*",
  549. "sentry.utils.migrations",
  550. "sentry.utils.numbers",
  551. "sentry.utils.otp",
  552. "sentry.utils.performance_issues.detectors.*",
  553. "sentry.utils.performance_issues.performance_detection",
  554. "sentry.utils.pubsub",
  555. "sentry.utils.redis",
  556. "sentry.utils.redis_metrics",
  557. "sentry.utils.sentry_apps.*",
  558. "sentry.utils.sms",
  559. "sentry.utils.snowflake",
  560. "sentry.utils.urls",
  561. "sentry.utils.uwsgi",
  562. "sentry.utils.zip",
  563. "sentry.web.frontend.auth_provider_login",
  564. "sentry.web.frontend.csv",
  565. "sentry_plugins.base",
  566. "tests.sentry.api.endpoints.issues.*",
  567. "tests.sentry.event_manager.test_event_manager",
  568. "tests.sentry.grouping.test_fingerprinting",
  569. "tests.sentry.hybridcloud.*",
  570. "tests.sentry.issues",
  571. "tests.sentry.issues.endpoints",
  572. "tests.sentry.issues.endpoints.test_actionable_items",
  573. "tests.sentry.issues.endpoints.test_organization_group_search_views",
  574. "tests.sentry.issues.endpoints.test_organization_searches",
  575. "tests.sentry.issues.endpoints.test_project_stacktrace_link",
  576. "tests.sentry.issues.endpoints.test_source_map_debug",
  577. "tests.sentry.issues.test_attributes",
  578. "tests.sentry.issues.test_escalating",
  579. "tests.sentry.issues.test_escalating_issues_alg",
  580. "tests.sentry.issues.test_group_attributes_dataset",
  581. "tests.sentry.issues.test_grouptype",
  582. "tests.sentry.issues.test_ignored",
  583. "tests.sentry.issues.test_ingest",
  584. "tests.sentry.issues.test_issue_occurrence",
  585. "tests.sentry.issues.test_issue_velocity",
  586. "tests.sentry.issues.test_json_schemas",
  587. "tests.sentry.issues.test_merge",
  588. "tests.sentry.issues.test_occurrence_consumer",
  589. "tests.sentry.issues.test_ongoing",
  590. "tests.sentry.issues.test_priority",
  591. "tests.sentry.issues.test_producer",
  592. "tests.sentry.issues.test_run",
  593. "tests.sentry.issues.test_search_issues_dataset",
  594. "tests.sentry.issues.test_status_change",
  595. "tests.sentry.issues.test_status_change_consumer",
  596. "tests.sentry.issues.test_update_inbox",
  597. "tests.sentry.ratelimits.test_leaky_bucket",
  598. "tests.sentry.relay.config.test_metric_extraction",
  599. "tests.sentry.tasks.test_on_demand_metrics",
  600. "tests.sentry.types.test_actor",
  601. "tests.sentry.types.test_region",
  602. "tools.*",
  603. ]
  604. disallow_any_generics = true
  605. disallow_untyped_defs = true
  606. # end: stronger typing