pyproject.toml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. [tool.black]
  2. # File filtering is taken care of in pre-commit.
  3. line-length = 100
  4. target-version = ['py312']
  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. # TODO: we should fix these, but for now there's a lot
  33. "ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated.*",
  34. "ignore:datetime.datetime.utcnow\\(\\) is deprecated.*",
  35. # The following warning filters are for pytest only.
  36. "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
  37. # pytest has not yet implemented the replacement for this yet
  38. "ignore:The --looponfail command line argument.*",
  39. ]
  40. looponfailroots = ["src", "tests"]
  41. [tool.mypy]
  42. python_version = "3.12"
  43. mypy_path = ["fixtures/stubs-for-mypy"]
  44. plugins = [
  45. "pydantic.mypy",
  46. "mypy_django_plugin.main",
  47. "tools.mypy_helpers.plugin",
  48. ]
  49. files = ["."]
  50. exclude = ["^.venv/", "^venv/", "^self-hosted/"]
  51. # minimal strictness settings
  52. check_untyped_defs = true
  53. no_implicit_reexport = true
  54. warn_unreachable = true
  55. warn_unused_configs = true
  56. warn_unused_ignores = true
  57. warn_redundant_casts = true
  58. enable_error_code = ["ignore-without-code", "redundant-self"]
  59. [tool.django-stubs]
  60. django_settings_module = "sentry.conf.server_mypy"
  61. # these have py.typed but incorrect types
  62. [[tool.mypy.overrides]]
  63. module = [
  64. # TODO: these cause type errors when followed
  65. "snuba_sdk.*",
  66. ]
  67. follow_imports = "skip"
  68. # python3 -m tools.mypy_helpers.make_stub_ignores
  69. # begin: missing 3rd party stubs
  70. # - add .pyi files to fixtures/stubs-for-mypy
  71. # - or find a 3rd party stub
  72. [[tool.mypy.overrides]]
  73. module = [
  74. "boto3.*",
  75. "botocore.client.*",
  76. "botocore.exceptions.*",
  77. "celery.*",
  78. "confluent_kafka.*",
  79. "cssselect.*",
  80. "django_zero_downtime_migrations.backends.postgres.schema.*",
  81. "docker.*",
  82. "fido2.*",
  83. "google.auth.*",
  84. "google.cloud.*",
  85. "google.resumable_media.common.*",
  86. "google.rpc.status_pb2.*",
  87. "kombu.*",
  88. "mistune.*",
  89. "onelogin.saml2.auth.*",
  90. "onelogin.saml2.constants.*",
  91. "onelogin.saml2.idp_metadata_parser.*",
  92. "phabricator.*",
  93. "rb.*",
  94. "requests_oauthlib.*",
  95. "sqlparse.*",
  96. "statsd.*",
  97. "u2flib_server.model.*",
  98. "unidiff.*",
  99. ]
  100. ignore_missing_imports = true
  101. # end: missing 3rd party stubs
  102. # python3 -m tools.mypy_helpers.make_module_ignores
  103. # begin: sentry modules with typing issues
  104. # - remove the module from the list and fix the issues!
  105. # - python3 -m tools.mypy_helpers.find_easiest_modules
  106. [[tool.mypy.overrides]]
  107. module = [
  108. "sentry.api.base",
  109. "sentry.api.bases.organization_events",
  110. "sentry.api.bases.organizationmember",
  111. "sentry.api.bases.project",
  112. "sentry.api.bases.team",
  113. "sentry.api.endpoints.accept_organization_invite",
  114. "sentry.api.endpoints.auth_config",
  115. "sentry.api.endpoints.codeowners",
  116. "sentry.api.endpoints.codeowners.index",
  117. "sentry.api.endpoints.event_attachments",
  118. "sentry.api.endpoints.group_integration_details",
  119. "sentry.api.endpoints.group_integrations",
  120. "sentry.api.endpoints.index",
  121. "sentry.api.endpoints.internal.mail",
  122. "sentry.api.endpoints.organization_details",
  123. "sentry.api.endpoints.organization_events",
  124. "sentry.api.endpoints.organization_events_facets_performance",
  125. "sentry.api.endpoints.organization_events_meta",
  126. "sentry.api.endpoints.organization_events_spans_performance",
  127. "sentry.api.endpoints.organization_index",
  128. "sentry.api.endpoints.organization_issues_count",
  129. "sentry.api.endpoints.organization_member.details",
  130. "sentry.api.endpoints.organization_member.index",
  131. "sentry.api.endpoints.organization_member.requests.invite.details",
  132. "sentry.api.endpoints.organization_onboarding_continuation_email",
  133. "sentry.api.endpoints.organization_projects",
  134. "sentry.api.endpoints.organization_releases",
  135. "sentry.api.endpoints.organization_request_project_creation",
  136. "sentry.api.endpoints.organization_search_details",
  137. "sentry.api.endpoints.organization_sessions",
  138. "sentry.api.endpoints.organization_stats",
  139. "sentry.api.endpoints.project_index",
  140. "sentry.api.endpoints.project_ownership",
  141. "sentry.api.endpoints.project_release_files",
  142. "sentry.api.endpoints.project_repo_path_parsing",
  143. "sentry.api.endpoints.project_rule_preview",
  144. "sentry.api.endpoints.project_rules_configuration",
  145. "sentry.api.endpoints.project_servicehook_stats",
  146. "sentry.api.endpoints.project_transaction_names",
  147. "sentry.api.endpoints.team_details",
  148. "sentry.api.endpoints.team_release_count",
  149. "sentry.api.endpoints.user_subscriptions",
  150. "sentry.api.event_search",
  151. "sentry.api.helpers.group_index.index",
  152. "sentry.api.helpers.group_index.update",
  153. "sentry.api.invite_helper",
  154. "sentry.api.issue_search",
  155. "sentry.api.paginator",
  156. "sentry.api.permissions",
  157. "sentry.api.serializers.models.auth_provider",
  158. "sentry.api.serializers.models.dashboard",
  159. "sentry.api.serializers.models.environment",
  160. "sentry.api.serializers.models.event",
  161. "sentry.api.serializers.models.group",
  162. "sentry.api.serializers.models.group_stream",
  163. "sentry.api.serializers.models.organization",
  164. "sentry.api.serializers.models.plugin",
  165. "sentry.api.serializers.models.project",
  166. "sentry.api.serializers.models.role",
  167. "sentry.api.serializers.models.rule",
  168. "sentry.api.serializers.models.team",
  169. "sentry.api.serializers.rest_framework.mentions",
  170. "sentry.api.serializers.rest_framework.notification_action",
  171. "sentry.auth.helper",
  172. "sentry.auth.provider",
  173. "sentry.auth.system",
  174. "sentry.db.mixin",
  175. "sentry.db.postgres.base",
  176. "sentry.discover.endpoints.discover_key_transactions",
  177. "sentry.eventstore.models",
  178. "sentry.grouping.strategies.legacy",
  179. "sentry.identity.bitbucket.provider",
  180. "sentry.identity.github_enterprise.provider",
  181. "sentry.identity.gitlab.provider",
  182. "sentry.identity.oauth2",
  183. "sentry.identity.pipeline",
  184. "sentry.identity.providers.dummy",
  185. "sentry.identity.slack.provider",
  186. "sentry.incidents.endpoints.bases",
  187. "sentry.incidents.endpoints.organization_alert_rule_details",
  188. "sentry.incidents.endpoints.organization_alert_rule_index",
  189. "sentry.incidents.endpoints.organization_incident_comment_details",
  190. "sentry.incidents.endpoints.organization_incident_index",
  191. "sentry.incidents.subscription_processor",
  192. "sentry.incidents.tasks",
  193. "sentry.integrations.api.bases.integration",
  194. "sentry.integrations.aws_lambda.integration",
  195. "sentry.integrations.bitbucket.client",
  196. "sentry.integrations.bitbucket.installed",
  197. "sentry.integrations.bitbucket.integration",
  198. "sentry.integrations.bitbucket.issues",
  199. "sentry.integrations.bitbucket.uninstalled",
  200. "sentry.integrations.bitbucket_server.client",
  201. "sentry.integrations.bitbucket_server.integration",
  202. "sentry.integrations.example.integration",
  203. "sentry.integrations.example.repository",
  204. "sentry.integrations.github.client",
  205. "sentry.integrations.github.integration",
  206. "sentry.integrations.github.issues",
  207. "sentry.integrations.github_enterprise.integration",
  208. "sentry.integrations.gitlab.client",
  209. "sentry.integrations.gitlab.integration",
  210. "sentry.integrations.gitlab.issues",
  211. "sentry.integrations.jira.actions.form",
  212. "sentry.integrations.jira.client",
  213. "sentry.integrations.jira.integration",
  214. "sentry.integrations.jira.views.base",
  215. "sentry.integrations.jira.webhooks.base",
  216. "sentry.integrations.jira.webhooks.issue_updated",
  217. "sentry.integrations.jira_server.client",
  218. "sentry.integrations.jira_server.integration",
  219. "sentry.integrations.metric_alerts",
  220. "sentry.integrations.msteams.actions.form",
  221. "sentry.integrations.msteams.client",
  222. "sentry.integrations.msteams.integration",
  223. "sentry.integrations.msteams.notifications",
  224. "sentry.integrations.notifications",
  225. "sentry.integrations.pagerduty.actions.form",
  226. "sentry.integrations.pagerduty.client",
  227. "sentry.integrations.pagerduty.integration",
  228. "sentry.integrations.pipeline",
  229. "sentry.integrations.slack.actions.form",
  230. "sentry.integrations.slack.integration",
  231. "sentry.integrations.slack.message_builder.notifications.issues",
  232. "sentry.integrations.slack.notifications",
  233. "sentry.integrations.slack.unfurl.discover",
  234. "sentry.integrations.slack.utils.channel",
  235. "sentry.integrations.slack.utils.users",
  236. "sentry.integrations.slack.webhooks.command",
  237. "sentry.integrations.slack.webhooks.event",
  238. "sentry.integrations.utils.commit_context",
  239. "sentry.integrations.utils.sync",
  240. "sentry.integrations.vercel.client",
  241. "sentry.integrations.vercel.integration",
  242. "sentry.integrations.vercel.webhook",
  243. "sentry.integrations.vsts.client",
  244. "sentry.integrations.vsts.integration",
  245. "sentry.integrations.vsts.issues",
  246. "sentry.integrations.vsts.repository",
  247. "sentry.integrations.vsts_extension.integration",
  248. "sentry.issues.search",
  249. "sentry.middleware.auth",
  250. "sentry.middleware.ratelimit",
  251. "sentry.middleware.superuser",
  252. "sentry.models.organizationaccessrequest",
  253. "sentry.monitors.consumers.monitor_consumer",
  254. "sentry.monitors.endpoints.base",
  255. "sentry.monitors.endpoints.monitor_ingest_checkin_attachment",
  256. "sentry.monitors.endpoints.organization_monitor_index",
  257. "sentry.net.http",
  258. "sentry.net.socket",
  259. "sentry.notifications.notifications.activity.base",
  260. "sentry.notifications.notifications.activity.release",
  261. "sentry.notifications.notifications.integration_nudge",
  262. "sentry.pipeline.base",
  263. "sentry.pipeline.views.base",
  264. "sentry.pipeline.views.nested",
  265. "sentry.plugins.bases.data_forwarding",
  266. "sentry.plugins.bases.issue",
  267. "sentry.plugins.bases.issue2",
  268. "sentry.plugins.bases.notify",
  269. "sentry.plugins.config",
  270. "sentry.plugins.endpoints",
  271. "sentry.receivers.releases",
  272. "sentry.release_health.metrics_sessions_v2",
  273. "sentry.replays.endpoints.project_replay_clicks_index",
  274. "sentry.replays.lib.query",
  275. "sentry.rules.actions.integrations.base",
  276. "sentry.rules.actions.integrations.create_ticket.form",
  277. "sentry.rules.actions.integrations.create_ticket.utils",
  278. "sentry.rules.filters.assigned_to",
  279. "sentry.rules.history.preview",
  280. "sentry.scim.endpoints.members",
  281. "sentry.scim.endpoints.teams",
  282. "sentry.scim.endpoints.utils",
  283. "sentry.search.events.builder.errors",
  284. "sentry.search.events.builder.metrics",
  285. "sentry.search.events.datasets.discover",
  286. "sentry.search.events.datasets.filter_aliases",
  287. "sentry.search.events.datasets.function_aliases",
  288. "sentry.search.events.datasets.metrics",
  289. "sentry.search.events.datasets.metrics_layer",
  290. "sentry.search.events.fields",
  291. "sentry.search.events.filter",
  292. "sentry.search.snuba.executors",
  293. "sentry.search.utils",
  294. "sentry.sentry_apps.installations",
  295. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  296. "sentry.shared_integrations.client.proxy",
  297. "sentry.snuba.errors",
  298. "sentry.snuba.issue_platform",
  299. "sentry.snuba.metrics.datasource",
  300. "sentry.snuba.metrics.fields.base",
  301. "sentry.snuba.metrics.query_builder",
  302. "sentry.snuba.sessions_v2",
  303. "sentry.snuba.spans_indexed",
  304. "sentry.snuba.spans_metrics",
  305. "sentry.tagstore.snuba.backend",
  306. "sentry.tagstore.types",
  307. "sentry.tasks.auth",
  308. "sentry.tasks.base",
  309. "sentry.testutils.cases",
  310. "sentry.testutils.fixtures",
  311. "sentry.testutils.helpers.notifications",
  312. "sentry.utils.auth",
  313. "sentry.utils.committers",
  314. "sentry.utils.services",
  315. "sentry.web.forms.accounts",
  316. "sentry.web.frontend.auth_login",
  317. "sentry.web.frontend.auth_organization_login",
  318. "sentry.web.frontend.base",
  319. "sentry.web.frontend.oauth_authorize",
  320. "sentry.web.frontend.oauth_token",
  321. "sentry.web.frontend.react_page",
  322. "sentry.web.frontend.setup_wizard",
  323. "sentry.web.frontend.shared_group_details",
  324. "sentry.web.frontend.twofactor",
  325. "sentry_plugins.bitbucket.client",
  326. "sentry_plugins.bitbucket.mixins",
  327. "sentry_plugins.github.plugin",
  328. "sentry_plugins.jira.plugin",
  329. "tests.sentry.api.bases.test_organization",
  330. "tests.sentry.api.bases.test_project",
  331. "tests.sentry.api.bases.test_team",
  332. "tests.sentry.api.endpoints.notifications.test_notification_actions_details",
  333. "tests.sentry.api.endpoints.notifications.test_notification_actions_index",
  334. "tests.sentry.api.endpoints.test_event_attachment_details",
  335. "tests.sentry.api.helpers.test_group_index",
  336. "tests.sentry.api.test_authentication",
  337. "tests.sentry.api.test_base",
  338. "tests.sentry.api.test_event_search",
  339. "tests.sentry.eventstore.test_base",
  340. "tests.sentry.issues.test_utils",
  341. ]
  342. disable_error_code = [
  343. "arg-type",
  344. "assignment",
  345. "attr-defined",
  346. "call-arg",
  347. "call-overload",
  348. "dict-item",
  349. "index",
  350. "misc",
  351. "operator",
  352. "override",
  353. "return-value",
  354. "typeddict-item",
  355. "typeddict-unknown-key",
  356. "union-attr",
  357. "unreachable",
  358. "var-annotated",
  359. ]
  360. # end: sentry modules with typing issues
  361. # begin: stronger typing
  362. [[tool.mypy.overrides]]
  363. module = [
  364. "sentry.api.endpoints.project_backfill_similar_issues_embeddings_records",
  365. "sentry.api.helpers.deprecation",
  366. "sentry.api.helpers.source_map_helper",
  367. "sentry.auth.services.*",
  368. "sentry.auth.view",
  369. "sentry.buffer.*",
  370. "sentry.build.*",
  371. "sentry.db.models.fields.citext",
  372. "sentry.db.models.fields.foreignkey",
  373. "sentry.db.models.fields.hybrid_cloud_foreign_key",
  374. "sentry.db.models.fields.types",
  375. "sentry.db.models.manager.*",
  376. "sentry.db.models.paranoia",
  377. "sentry.db.models.utils",
  378. "sentry.deletions.*",
  379. "sentry.digests.notifications",
  380. "sentry.eventstore.reprocessing.redis",
  381. "sentry.eventtypes.error",
  382. "sentry.grouping.component",
  383. "sentry.grouping.fingerprinting",
  384. "sentry.grouping.ingest.*",
  385. "sentry.grouping.parameterization",
  386. "sentry.hybridcloud.*",
  387. "sentry.ingest.slicing",
  388. "sentry.integrations.models.integration_feature",
  389. "sentry.issues",
  390. "sentry.issues.analytics",
  391. "sentry.issues.apps",
  392. "sentry.issues.constants",
  393. "sentry.issues.endpoints",
  394. "sentry.issues.endpoints.group_activities",
  395. "sentry.issues.endpoints.group_event_details",
  396. "sentry.issues.endpoints.group_events",
  397. "sentry.issues.endpoints.group_participants",
  398. "sentry.issues.endpoints.organization_group_index_stats",
  399. "sentry.issues.endpoints.organization_group_search_views",
  400. "sentry.issues.endpoints.organization_release_previous_commits",
  401. "sentry.issues.endpoints.organization_searches",
  402. "sentry.issues.endpoints.project_events",
  403. "sentry.issues.endpoints.project_stacktrace_link",
  404. "sentry.issues.endpoints.related_issues",
  405. "sentry.issues.endpoints.shared_group_details",
  406. "sentry.issues.endpoints.team_groups_old",
  407. "sentry.issues.escalating_group_forecast",
  408. "sentry.issues.escalating_issues_alg",
  409. "sentry.issues.forecasts",
  410. "sentry.issues.ignored",
  411. "sentry.issues.ingest",
  412. "sentry.issues.issue_occurrence",
  413. "sentry.issues.json_schemas",
  414. "sentry.issues.merge",
  415. "sentry.issues.occurrence_consumer",
  416. "sentry.issues.ongoing",
  417. "sentry.issues.priority",
  418. "sentry.issues.producer",
  419. "sentry.issues.query",
  420. "sentry.issues.receivers",
  421. "sentry.issues.related.*",
  422. "sentry.issues.run",
  423. "sentry.issues.status_change",
  424. "sentry.issues.status_change_consumer",
  425. "sentry.issues.status_change_message",
  426. "sentry.issues.update_inbox",
  427. "sentry.lang.java.processing",
  428. "sentry.llm.*",
  429. "sentry.migrations.*",
  430. "sentry.models.event",
  431. "sentry.models.eventattachment",
  432. "sentry.models.groupsubscription",
  433. "sentry.monkey",
  434. "sentry.nodestore.base",
  435. "sentry.nodestore.bigtable.backend",
  436. "sentry.nodestore.django.backend",
  437. "sentry.nodestore.django.models",
  438. "sentry.nodestore.filesystem.backend",
  439. "sentry.nodestore.models",
  440. "sentry.organizations.*",
  441. "sentry.ownership.*",
  442. "sentry.plugins.base.response",
  443. "sentry.plugins.base.view",
  444. "sentry.profiles.*",
  445. "sentry.projects.services.*",
  446. "sentry.ratelimits.leaky_bucket",
  447. "sentry.relay.config.metric_extraction",
  448. "sentry.reprocessing2",
  449. "sentry.runner.*",
  450. "sentry.search.snuba.backend",
  451. "sentry.sentry_metrics.consumers.indexer.slicing_router",
  452. "sentry.snuba.metrics.extraction",
  453. "sentry.stacktraces.platform",
  454. "sentry.tasks.beacon",
  455. "sentry.tasks.commit_context",
  456. "sentry.tasks.on_demand_metrics",
  457. "sentry.tasks.reprocessing2",
  458. "sentry.tasks.store",
  459. "sentry.taskworker.*",
  460. "sentry.testutils.helpers.task_runner",
  461. "sentry.types.actor",
  462. "sentry.types.region",
  463. "sentry.users.*",
  464. "sentry.utils.arroyo",
  465. "sentry.utils.assets",
  466. "sentry.utils.audit",
  467. "sentry.utils.celery",
  468. "sentry.utils.codeowners",
  469. "sentry.utils.colors",
  470. "sentry.utils.email.*",
  471. "sentry.utils.env",
  472. "sentry.utils.event",
  473. "sentry.utils.files",
  474. "sentry.utils.function_cache",
  475. "sentry.utils.geo",
  476. "sentry.utils.imports",
  477. "sentry.utils.iterators",
  478. "sentry.utils.javascript",
  479. "sentry.utils.lazy_service_wrapper",
  480. "sentry.utils.locking.*",
  481. "sentry.utils.migrations",
  482. "sentry.utils.numbers",
  483. "sentry.utils.otp",
  484. "sentry.utils.performance_issues.detectors.*",
  485. "sentry.utils.performance_issues.performance_detection",
  486. "sentry.utils.pubsub",
  487. "sentry.utils.redis",
  488. "sentry.utils.redis_metrics",
  489. "sentry.utils.sentry_apps.*",
  490. "sentry.utils.sms",
  491. "sentry.utils.snowflake",
  492. "sentry.utils.urls",
  493. "sentry.utils.uwsgi",
  494. "sentry.utils.zip",
  495. "sentry.web.frontend.auth_provider_login",
  496. "sentry.web.frontend.cli",
  497. "sentry.web.frontend.csv",
  498. "sentry_plugins.base",
  499. "tests.sentry.deletions.test_group",
  500. "tests.sentry.event_manager.test_event_manager",
  501. "tests.sentry.grouping.ingest.test_seer",
  502. "tests.sentry.grouping.test_fingerprinting",
  503. "tests.sentry.hybridcloud.*",
  504. "tests.sentry.issues",
  505. "tests.sentry.issues.endpoints",
  506. "tests.sentry.issues.endpoints.test_actionable_items",
  507. "tests.sentry.issues.endpoints.test_organization_group_search_views",
  508. "tests.sentry.issues.endpoints.test_organization_searches",
  509. "tests.sentry.issues.endpoints.test_project_stacktrace_link",
  510. "tests.sentry.issues.endpoints.test_related_issues",
  511. "tests.sentry.issues.endpoints.test_source_map_debug",
  512. "tests.sentry.issues.test_attributes",
  513. "tests.sentry.issues.test_escalating",
  514. "tests.sentry.issues.test_escalating_issues_alg",
  515. "tests.sentry.issues.test_group_attributes_dataset",
  516. "tests.sentry.issues.test_grouptype",
  517. "tests.sentry.issues.test_ignored",
  518. "tests.sentry.issues.test_ingest",
  519. "tests.sentry.issues.test_issue_occurrence",
  520. "tests.sentry.issues.test_issue_velocity",
  521. "tests.sentry.issues.test_json_schemas",
  522. "tests.sentry.issues.test_merge",
  523. "tests.sentry.issues.test_occurrence_consumer",
  524. "tests.sentry.issues.test_ongoing",
  525. "tests.sentry.issues.test_priority",
  526. "tests.sentry.issues.test_producer",
  527. "tests.sentry.issues.test_run",
  528. "tests.sentry.issues.test_search_issues_dataset",
  529. "tests.sentry.issues.test_status_change",
  530. "tests.sentry.issues.test_status_change_consumer",
  531. "tests.sentry.issues.test_update_inbox",
  532. "tests.sentry.ownership.*",
  533. "tests.sentry.ratelimits.test_leaky_bucket",
  534. "tests.sentry.relay.config.test_metric_extraction",
  535. "tests.sentry.tasks.test_on_demand_metrics",
  536. "tests.sentry.types.test_actor",
  537. "tests.sentry.types.test_region",
  538. "tests.sentry.web.frontend.test_cli",
  539. "tools.*",
  540. ]
  541. disallow_any_generics = true
  542. disallow_untyped_defs = true
  543. # end: stronger typing