pyproject.toml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. [tool.black]
  2. # File filtering is taken care of in pre-commit.
  3. line-length = 100
  4. target-version = ['py313']
  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. # this warning in protobuf causes a segfault in 3.12+ protocolbuffers/protobuf#15077
  29. "ignore:Type google\\._upb.*",
  30. # TODO: we should fix these, but for now there's a lot
  31. "ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated.*",
  32. "ignore:datetime.datetime.utcnow\\(\\) is deprecated.*",
  33. # The following warning filters are for pytest only.
  34. "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
  35. # pytest has not yet implemented the replacement for this yet
  36. "ignore:The --looponfail command line argument.*",
  37. ]
  38. looponfailroots = ["src", "tests"]
  39. [tool.mypy]
  40. python_version = "3.13"
  41. mypy_path = ["fixtures/stubs-for-mypy"]
  42. plugins = [
  43. "pydantic.mypy",
  44. "mypy_django_plugin.main",
  45. "tools.mypy_helpers.plugin",
  46. ]
  47. files = ["."]
  48. exclude = ["^.venv/", "^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. enable_error_code = ["ignore-without-code", "redundant-self"]
  57. [tool.django-stubs]
  58. django_settings_module = "sentry.conf.server_mypy"
  59. # these have py.typed but incorrect types
  60. [[tool.mypy.overrides]]
  61. module = [
  62. # TODO: these cause type errors when followed
  63. "snuba_sdk.*",
  64. ]
  65. follow_imports = "skip"
  66. # python3 -m tools.mypy_helpers.make_stub_ignores
  67. # begin: missing 3rd party stubs
  68. # - add .pyi files to fixtures/stubs-for-mypy
  69. # - or find a 3rd party stub
  70. [[tool.mypy.overrides]]
  71. module = [
  72. "boto3.*",
  73. "botocore.client.*",
  74. "botocore.exceptions.*",
  75. "celery.*",
  76. "confluent_kafka.*",
  77. "cssselect.*",
  78. "django_zero_downtime_migrations.backends.postgres.schema.*",
  79. "docker.*",
  80. "fido2.*",
  81. "google.auth.*",
  82. "google.cloud.*",
  83. "google.resumable_media.common.*",
  84. "google.rpc.status_pb2.*",
  85. "kombu.*",
  86. "mistune.*",
  87. "onelogin.saml2.auth.*",
  88. "onelogin.saml2.constants.*",
  89. "onelogin.saml2.idp_metadata_parser.*",
  90. "rb.*",
  91. "sqlparse.*",
  92. "statsd.*",
  93. "u2flib_server.model.*",
  94. ]
  95. ignore_missing_imports = true
  96. # end: missing 3rd party stubs
  97. # python3 -m tools.mypy_helpers.make_module_ignores
  98. # begin: sentry modules with typing issues
  99. # - remove the module from the list and fix the issues!
  100. # - python3 -m tools.mypy_helpers.find_easiest_modules
  101. [[tool.mypy.overrides]]
  102. module = [
  103. "sentry.api.base",
  104. "sentry.api.bases.organization_events",
  105. "sentry.api.endpoints.event_attachments",
  106. "sentry.api.endpoints.group_integration_details",
  107. "sentry.api.endpoints.group_integrations",
  108. "sentry.api.endpoints.internal.mail",
  109. "sentry.api.endpoints.organization_events_facets_performance",
  110. "sentry.api.endpoints.organization_events_meta",
  111. "sentry.api.endpoints.organization_events_spans_performance",
  112. "sentry.api.endpoints.organization_index",
  113. "sentry.api.endpoints.organization_member.details",
  114. "sentry.api.endpoints.organization_member.index",
  115. "sentry.api.endpoints.organization_member.requests.invite.details",
  116. "sentry.api.endpoints.organization_projects",
  117. "sentry.api.endpoints.organization_releases",
  118. "sentry.api.endpoints.organization_request_project_creation",
  119. "sentry.api.endpoints.organization_search_details",
  120. "sentry.api.endpoints.organization_stats",
  121. "sentry.api.endpoints.project_index",
  122. "sentry.api.endpoints.project_ownership",
  123. "sentry.api.endpoints.project_release_files",
  124. "sentry.api.endpoints.project_repo_path_parsing",
  125. "sentry.api.endpoints.project_rules_configuration",
  126. "sentry.api.endpoints.team_details",
  127. "sentry.api.endpoints.user_subscriptions",
  128. "sentry.api.invite_helper",
  129. "sentry.api.paginator",
  130. "sentry.api.permissions",
  131. "sentry.api.serializers.models.auth_provider",
  132. "sentry.api.serializers.models.event",
  133. "sentry.auth.helper",
  134. "sentry.auth.provider",
  135. "sentry.auth.system",
  136. "sentry.db.mixin",
  137. "sentry.db.postgres.base",
  138. "sentry.discover.endpoints.discover_key_transactions",
  139. "sentry.eventstore.models",
  140. "sentry.grouping.strategies.legacy",
  141. "sentry.identity.bitbucket.provider",
  142. "sentry.identity.gitlab.provider",
  143. "sentry.identity.oauth2",
  144. "sentry.identity.pipeline",
  145. "sentry.identity.providers.dummy",
  146. "sentry.incidents.endpoints.bases",
  147. "sentry.incidents.endpoints.organization_alert_rule_details",
  148. "sentry.incidents.endpoints.organization_alert_rule_index",
  149. "sentry.incidents.endpoints.organization_incident_index",
  150. "sentry.integrations.aws_lambda.integration",
  151. "sentry.integrations.bitbucket.client",
  152. "sentry.integrations.bitbucket.integration",
  153. "sentry.integrations.bitbucket_server.client",
  154. "sentry.integrations.bitbucket_server.integration",
  155. "sentry.integrations.example.integration",
  156. "sentry.integrations.github.client",
  157. "sentry.integrations.github.integration",
  158. "sentry.integrations.github.issues",
  159. "sentry.integrations.github_enterprise.integration",
  160. "sentry.integrations.gitlab.client",
  161. "sentry.integrations.gitlab.integration",
  162. "sentry.integrations.gitlab.issues",
  163. "sentry.integrations.jira.client",
  164. "sentry.integrations.jira.integration",
  165. "sentry.integrations.jira.views.base",
  166. "sentry.integrations.jira.webhooks.base",
  167. "sentry.integrations.jira.webhooks.issue_updated",
  168. "sentry.integrations.jira_server.integration",
  169. "sentry.integrations.metric_alerts",
  170. "sentry.integrations.msteams.actions.form",
  171. "sentry.integrations.msteams.client",
  172. "sentry.integrations.msteams.integration",
  173. "sentry.integrations.msteams.notifications",
  174. "sentry.integrations.pagerduty.actions.form",
  175. "sentry.integrations.pagerduty.client",
  176. "sentry.integrations.pagerduty.integration",
  177. "sentry.integrations.pipeline",
  178. "sentry.integrations.slack.actions.form",
  179. "sentry.integrations.slack.integration",
  180. "sentry.integrations.slack.message_builder.notifications.issues",
  181. "sentry.integrations.slack.notifications",
  182. "sentry.integrations.slack.webhooks.command",
  183. "sentry.integrations.slack.webhooks.event",
  184. "sentry.integrations.utils.commit_context",
  185. "sentry.integrations.utils.sync",
  186. "sentry.integrations.vercel.client",
  187. "sentry.integrations.vercel.integration",
  188. "sentry.integrations.vsts.integration",
  189. "sentry.integrations.vsts.issues",
  190. "sentry.integrations.vsts_extension.integration",
  191. "sentry.issues.search",
  192. "sentry.middleware.auth",
  193. "sentry.middleware.ratelimit",
  194. "sentry.middleware.superuser",
  195. "sentry.monitors.endpoints.base",
  196. "sentry.monitors.endpoints.organization_monitor_index",
  197. "sentry.net.http",
  198. "sentry.net.socket",
  199. "sentry.notifications.notifications.activity.base",
  200. "sentry.notifications.notifications.integration_nudge",
  201. "sentry.pipeline.base",
  202. "sentry.pipeline.views.base",
  203. "sentry.pipeline.views.nested",
  204. "sentry.plugins.bases.notify",
  205. "sentry.plugins.config",
  206. "sentry.receivers.releases",
  207. "sentry.release_health.metrics_sessions_v2",
  208. "sentry.replays.endpoints.project_replay_clicks_index",
  209. "sentry.rules.actions.integrations.base",
  210. "sentry.rules.actions.integrations.create_ticket.form",
  211. "sentry.rules.actions.integrations.create_ticket.utils",
  212. "sentry.rules.history.preview",
  213. "sentry.scim.endpoints.teams",
  214. "sentry.scim.endpoints.utils",
  215. "sentry.search.events.builder.errors",
  216. "sentry.search.events.builder.metrics",
  217. "sentry.search.events.datasets.filter_aliases",
  218. "sentry.search.events.datasets.metrics_layer",
  219. "sentry.search.events.filter",
  220. "sentry.search.snuba.executors",
  221. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  222. "sentry.shared_integrations.client.proxy",
  223. "sentry.snuba.errors",
  224. "sentry.snuba.issue_platform",
  225. "sentry.snuba.metrics.datasource",
  226. "sentry.snuba.metrics.query_builder",
  227. "sentry.snuba.spans_metrics",
  228. "sentry.tagstore.snuba.backend",
  229. "sentry.tasks.auth",
  230. "sentry.tasks.base",
  231. "sentry.testutils.cases",
  232. "sentry.utils.auth",
  233. "sentry.utils.committers",
  234. "sentry.web.frontend.auth_login",
  235. "sentry.web.frontend.auth_organization_login",
  236. "sentry.web.frontend.base",
  237. "sentry.web.frontend.react_page",
  238. "sentry.web.frontend.shared_group_details",
  239. "sentry_plugins.bitbucket.mixins",
  240. "sentry_plugins.github.plugin",
  241. "sentry_plugins.jira.plugin",
  242. "tests.sentry.api.helpers.test_group_index",
  243. "tests.sentry.api.test_base",
  244. "tests.sentry.api.test_event_search",
  245. "tests.sentry.issues.test_utils",
  246. ]
  247. disable_error_code = [
  248. "arg-type",
  249. "assignment",
  250. "attr-defined",
  251. "call-arg",
  252. "call-overload",
  253. "index",
  254. "misc",
  255. "operator",
  256. "override",
  257. "return-value",
  258. "typeddict-item",
  259. "union-attr",
  260. "unreachable",
  261. "var-annotated",
  262. ]
  263. # end: sentry modules with typing issues
  264. # begin: stronger typing
  265. [[tool.mypy.overrides]]
  266. module = [
  267. "fixtures.safe_migrations_apps.*",
  268. "sentry.analytics.*",
  269. "sentry.api.endpoints.integrations.sentry_apps.installation.external_issue.*",
  270. "sentry.api.endpoints.project_backfill_similar_issues_embeddings_records",
  271. "sentry.api.endpoints.release_thresholds.health_checks.*",
  272. "sentry.api.endpoints.relocations.artifacts.*",
  273. "sentry.api.helpers.deprecation",
  274. "sentry.api.helpers.group_index.update",
  275. "sentry.api.helpers.source_map_helper",
  276. "sentry.api.serializers.models.organization_member.*",
  277. "sentry.api.serializers.rest_framework.group_notes",
  278. "sentry.audit_log.services.*",
  279. "sentry.auth.services.*",
  280. "sentry.auth.view",
  281. "sentry.buffer.*",
  282. "sentry.build.*",
  283. "sentry.data_export.processors.issues_by_tag",
  284. "sentry.data_secrecy.models.*",
  285. "sentry.data_secrecy.service.*",
  286. "sentry.db.models.fields.citext",
  287. "sentry.db.models.fields.foreignkey",
  288. "sentry.db.models.fields.hybrid_cloud_foreign_key",
  289. "sentry.db.models.fields.types",
  290. "sentry.db.models.manager.*",
  291. "sentry.db.models.paranoia",
  292. "sentry.db.models.utils",
  293. "sentry.deletions.*",
  294. "sentry.digests.*",
  295. "sentry.digests.notifications",
  296. "sentry.dynamic_sampling.models.*",
  297. "sentry.dynamic_sampling.rules.biases.*",
  298. "sentry.dynamic_sampling.rules.combinators.*",
  299. "sentry.dynamic_sampling.rules.helpers.*",
  300. "sentry.dynamic_sampling.tasks.helpers.*",
  301. "sentry.eventstore.reprocessing.*",
  302. "sentry.eventstore.reprocessing.redis",
  303. "sentry.eventstream.*",
  304. "sentry.eventtypes.error",
  305. "sentry.feedback.migrations.*",
  306. "sentry.flags.migrations.*",
  307. "sentry.grouping.api",
  308. "sentry.grouping.component",
  309. "sentry.grouping.fingerprinting",
  310. "sentry.grouping.fingerprinting.*",
  311. "sentry.grouping.grouping_info",
  312. "sentry.grouping.ingest.*",
  313. "sentry.grouping.parameterization",
  314. "sentry.grouping.utils",
  315. "sentry.grouping.variants",
  316. "sentry.hybridcloud.*",
  317. "sentry.identity.discord.*",
  318. "sentry.identity.github_enterprise.*",
  319. "sentry.identity.services.*",
  320. "sentry.identity.vsts_extension.*",
  321. "sentry.incidents.utils.*",
  322. "sentry.ingest.slicing",
  323. "sentry.integrations.discord.actions.*",
  324. "sentry.integrations.discord.message_builder.base.component.*",
  325. "sentry.integrations.discord.message_builder.base.embed.*",
  326. "sentry.integrations.discord.utils.*",
  327. "sentry.integrations.discord.views.*",
  328. "sentry.integrations.discord.webhooks.*",
  329. "sentry.integrations.github.actions.*",
  330. "sentry.integrations.github_enterprise.actions.*",
  331. "sentry.integrations.jira.actions.*",
  332. "sentry.integrations.jira.endpoints.*",
  333. "sentry.integrations.jira.models.*",
  334. "sentry.integrations.jira_server.actions.*",
  335. "sentry.integrations.jira_server.utils.*",
  336. "sentry.integrations.models.integration_feature",
  337. "sentry.integrations.project_management.*",
  338. "sentry.integrations.repository.*",
  339. "sentry.integrations.services.*",
  340. "sentry.integrations.slack.threads.*",
  341. "sentry.integrations.slack.views.*",
  342. "sentry.integrations.source_code_management.repository",
  343. "sentry.integrations.vsts.actions.*",
  344. "sentry.integrations.vsts.tasks.*",
  345. "sentry.integrations.web.debug.*",
  346. "sentry.issues",
  347. "sentry.issues.analytics",
  348. "sentry.issues.apps",
  349. "sentry.issues.auto_source_code_config.*",
  350. "sentry.issues.constants",
  351. "sentry.issues.endpoints",
  352. "sentry.issues.endpoints.actionable_items",
  353. "sentry.issues.endpoints.group_activities",
  354. "sentry.issues.endpoints.group_event_details",
  355. "sentry.issues.endpoints.group_events",
  356. "sentry.issues.endpoints.group_notes",
  357. "sentry.issues.endpoints.group_notes_details",
  358. "sentry.issues.endpoints.group_open_periods",
  359. "sentry.issues.endpoints.group_similar_issues_embeddings",
  360. "sentry.issues.endpoints.group_tombstone",
  361. "sentry.issues.endpoints.group_tombstone_details",
  362. "sentry.issues.endpoints.organization_derive_code_mappings",
  363. "sentry.issues.endpoints.organization_eventid",
  364. "sentry.issues.endpoints.organization_group_index",
  365. "sentry.issues.endpoints.organization_group_index_stats",
  366. "sentry.issues.endpoints.organization_group_search_views",
  367. "sentry.issues.endpoints.organization_release_previous_commits",
  368. "sentry.issues.endpoints.organization_searches",
  369. "sentry.issues.endpoints.organization_shortid",
  370. "sentry.issues.endpoints.project_event_details",
  371. "sentry.issues.endpoints.project_events",
  372. "sentry.issues.endpoints.project_group_index",
  373. "sentry.issues.endpoints.project_group_stats",
  374. "sentry.issues.endpoints.project_stacktrace_link",
  375. "sentry.issues.endpoints.related_issues",
  376. "sentry.issues.endpoints.shared_group_details",
  377. "sentry.issues.endpoints.team_groups_old",
  378. "sentry.issues.escalating",
  379. "sentry.issues.escalating_group_forecast",
  380. "sentry.issues.escalating_issues_alg",
  381. "sentry.issues.forecasts",
  382. "sentry.issues.ignored",
  383. "sentry.issues.ingest",
  384. "sentry.issues.issue_occurrence",
  385. "sentry.issues.json_schemas",
  386. "sentry.issues.merge",
  387. "sentry.issues.occurrence_consumer",
  388. "sentry.issues.ongoing",
  389. "sentry.issues.priority",
  390. "sentry.issues.producer",
  391. "sentry.issues.query",
  392. "sentry.issues.receivers",
  393. "sentry.issues.related.*",
  394. "sentry.issues.run",
  395. "sentry.issues.services.*",
  396. "sentry.issues.status_change",
  397. "sentry.issues.status_change_consumer",
  398. "sentry.issues.status_change_message",
  399. "sentry.issues.streamline",
  400. "sentry.issues.update_inbox",
  401. "sentry.lang.java.processing",
  402. "sentry.llm.*",
  403. "sentry.migrations.*",
  404. "sentry.models.activity",
  405. "sentry.models.event",
  406. "sentry.models.eventattachment",
  407. "sentry.models.groupassignee",
  408. "sentry.models.grouphistory",
  409. "sentry.models.groupinbox",
  410. "sentry.models.groupsubscription",
  411. "sentry.models.options.*",
  412. "sentry.monitors.consumers.monitor_consumer",
  413. "sentry.monkey.*",
  414. "sentry.nodestore.*",
  415. "sentry.nodestore.base",
  416. "sentry.nodestore.bigtable.backend",
  417. "sentry.nodestore.django.backend",
  418. "sentry.nodestore.django.models",
  419. "sentry.nodestore.filesystem.backend",
  420. "sentry.nodestore.models",
  421. "sentry.notifications.services.*",
  422. "sentry.organizations.*",
  423. "sentry.ownership.*",
  424. "sentry.plugins.base.response",
  425. "sentry.plugins.base.view",
  426. "sentry.plugins.validators.*",
  427. "sentry.post_process_forwarder.*",
  428. "sentry.profiles.*",
  429. "sentry.projects.*",
  430. "sentry.queue.*",
  431. "sentry.ratelimits.leaky_bucket",
  432. "sentry.relay.config.metric_extraction",
  433. "sentry.relay.types.*",
  434. "sentry.release_health.release_monitor.*",
  435. "sentry.relocation.services.relocation_export.*",
  436. "sentry.remote_subscriptions.migrations.*",
  437. "sentry.replays.consumers.*",
  438. "sentry.replays.lib.new_query.*",
  439. "sentry.replays.migrations.*",
  440. "sentry.reprocessing2",
  441. "sentry.roles.*",
  442. "sentry.rules.actions.sentry_apps.*",
  443. "sentry.rules.conditions.*",
  444. "sentry.rules.history.endpoints.*",
  445. "sentry.runner.*",
  446. "sentry.search.snuba.backend",
  447. "sentry.security.*",
  448. "sentry.seer.similarity.*",
  449. "sentry.sentry_apps.external_issues.*",
  450. "sentry.sentry_apps.services.*",
  451. "sentry.sentry_apps.utils.*",
  452. "sentry.sentry_apps.web.*",
  453. "sentry.sentry_metrics.consumers.indexer.*",
  454. "sentry.sentry_metrics.indexer.limiters.*",
  455. "sentry.shared_integrations.exceptions.*",
  456. "sentry.slug.*",
  457. "sentry.snuba.metrics.extraction",
  458. "sentry.snuba.metrics.naming_layer.*",
  459. "sentry.snuba.query_subscriptions.*",
  460. "sentry.spans.grouping.*",
  461. "sentry.stacktraces.platform",
  462. "sentry.tasks.beacon",
  463. "sentry.tasks.commit_context",
  464. "sentry.tasks.embeddings_grouping.backfill_seer_grouping_records_for_project",
  465. "sentry.tasks.on_demand_metrics",
  466. "sentry.tasks.reprocessing2",
  467. "sentry.tasks.store",
  468. "sentry.taskworker.*",
  469. "sentry.tempest.endpoints.*",
  470. "sentry.tempest.migrations.*",
  471. "sentry.testutils.helpers.task_runner",
  472. "sentry.testutils.skips",
  473. "sentry.toolbar.utils.*",
  474. "sentry.types.*",
  475. "sentry.uptime.migrations.*",
  476. "sentry.usage_accountant.*",
  477. "sentry.users.*",
  478. "sentry.utils.arroyo",
  479. "sentry.utils.assets",
  480. "sentry.utils.audit",
  481. "sentry.utils.celery",
  482. "sentry.utils.codeowners",
  483. "sentry.utils.colors",
  484. "sentry.utils.email.*",
  485. "sentry.utils.env",
  486. "sentry.utils.event",
  487. "sentry.utils.files",
  488. "sentry.utils.function_cache",
  489. "sentry.utils.geo",
  490. "sentry.utils.imports",
  491. "sentry.utils.iterators",
  492. "sentry.utils.javascript",
  493. "sentry.utils.kvstore.*",
  494. "sentry.utils.lazy_service_wrapper",
  495. "sentry.utils.locking.*",
  496. "sentry.utils.migrations",
  497. "sentry.utils.numbers",
  498. "sentry.utils.otp",
  499. "sentry.utils.performance_issues.detectors.*",
  500. "sentry.utils.performance_issues.performance_detection",
  501. "sentry.utils.pubsub",
  502. "sentry.utils.redis",
  503. "sentry.utils.redis_metrics",
  504. "sentry.utils.sdk_crashes.*",
  505. "sentry.utils.sentry_apps.*",
  506. "sentry.utils.services",
  507. "sentry.utils.sms",
  508. "sentry.utils.snowflake",
  509. "sentry.utils.urls",
  510. "sentry.utils.uwsgi",
  511. "sentry.utils.zip",
  512. "sentry.web.frontend.auth_provider_login",
  513. "sentry.web.frontend.cli",
  514. "sentry.web.frontend.csv",
  515. "sentry.web.frontend.mixins.*",
  516. "sentry.workflow_engine.handlers.action.*",
  517. "sentry.workflow_engine.handlers.condition.*",
  518. "sentry.workflow_engine.migrations.*",
  519. "sentry_plugins.base",
  520. "social_auth.migrations.*",
  521. "sudo.*",
  522. "tests.sentry.api.endpoints.issues.test_organization_derive_code_mappings",
  523. "tests.sentry.audit_log.services.*",
  524. "tests.sentry.deletions.test_group",
  525. "tests.sentry.event_manager.test_event_manager",
  526. "tests.sentry.grouping.ingest.test_seer",
  527. "tests.sentry.grouping.test_fingerprinting",
  528. "tests.sentry.hybridcloud.*",
  529. "tests.sentry.incidents.serializers.*",
  530. "tests.sentry.integrations.msteams.webhook.*",
  531. "tests.sentry.integrations.repository.base.*",
  532. "tests.sentry.integrations.repository.issue_alert.*",
  533. "tests.sentry.integrations.slack.threads.*",
  534. "tests.sentry.issues",
  535. "tests.sentry.issues.auto_source_code_config.*",
  536. "tests.sentry.issues.endpoints",
  537. "tests.sentry.issues.endpoints.test_actionable_items",
  538. "tests.sentry.issues.endpoints.test_group_activities",
  539. "tests.sentry.issues.endpoints.test_group_details",
  540. "tests.sentry.issues.endpoints.test_group_event_details",
  541. "tests.sentry.issues.endpoints.test_group_events",
  542. "tests.sentry.issues.endpoints.test_group_hashes",
  543. "tests.sentry.issues.endpoints.test_group_notes",
  544. "tests.sentry.issues.endpoints.test_group_notes_details",
  545. "tests.sentry.issues.endpoints.test_group_open_periods",
  546. "tests.sentry.issues.endpoints.test_group_similar_issues_embeddings",
  547. "tests.sentry.issues.endpoints.test_group_tombstone",
  548. "tests.sentry.issues.endpoints.test_group_tombstone_details",
  549. "tests.sentry.issues.endpoints.test_organization_group_search_views",
  550. "tests.sentry.issues.endpoints.test_organization_searches",
  551. "tests.sentry.issues.endpoints.test_organization_shortid",
  552. "tests.sentry.issues.endpoints.test_project_group_stats",
  553. "tests.sentry.issues.endpoints.test_project_stacktrace_link",
  554. "tests.sentry.issues.endpoints.test_related_issues",
  555. "tests.sentry.issues.endpoints.test_shared_group_details",
  556. "tests.sentry.issues.endpoints.test_source_map_debug",
  557. "tests.sentry.issues.endpoints.test_team_groups_old",
  558. "tests.sentry.issues.test_attributes",
  559. "tests.sentry.issues.test_escalating",
  560. "tests.sentry.issues.test_escalating_issues_alg",
  561. "tests.sentry.issues.test_group_attributes_dataset",
  562. "tests.sentry.issues.test_grouptype",
  563. "tests.sentry.issues.test_ignored",
  564. "tests.sentry.issues.test_ingest",
  565. "tests.sentry.issues.test_issue_occurrence",
  566. "tests.sentry.issues.test_issue_velocity",
  567. "tests.sentry.issues.test_json_schemas",
  568. "tests.sentry.issues.test_merge",
  569. "tests.sentry.issues.test_occurrence_consumer",
  570. "tests.sentry.issues.test_ongoing",
  571. "tests.sentry.issues.test_priority",
  572. "tests.sentry.issues.test_producer",
  573. "tests.sentry.issues.test_run",
  574. "tests.sentry.issues.test_search_issues_dataset",
  575. "tests.sentry.issues.test_status_change",
  576. "tests.sentry.issues.test_status_change_consumer",
  577. "tests.sentry.issues.test_update_inbox",
  578. "tests.sentry.organizations.*",
  579. "tests.sentry.ownership.*",
  580. "tests.sentry.post_process_forwarder.*",
  581. "tests.sentry.profiling.*",
  582. "tests.sentry.queue.*",
  583. "tests.sentry.ratelimits.test_leaky_bucket",
  584. "tests.sentry.relay.config.test_metric_extraction",
  585. "tests.sentry.replays.unit.lib.*",
  586. "tests.sentry.rules.actions.base.*",
  587. "tests.sentry.security.*",
  588. "tests.sentry.snuba.metrics.test_metrics_query_layer.*",
  589. "tests.sentry.tasks.integrations.*",
  590. "tests.sentry.tasks.test_on_demand_metrics",
  591. "tests.sentry.types.*",
  592. "tests.sentry.types.test_actor",
  593. "tests.sentry.types.test_region",
  594. "tests.sentry.usage_accountant.*",
  595. "tests.sentry.users.services.*",
  596. "tests.sentry.utils.mockdata.*",
  597. "tests.sentry.web.frontend.test_cli",
  598. "tools.*",
  599. ]
  600. disallow_any_generics = true
  601. disallow_untyped_defs = true
  602. # end: stronger typing