pyproject.toml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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.gitlab.provider",
  181. "sentry.identity.oauth2",
  182. "sentry.identity.pipeline",
  183. "sentry.identity.providers.dummy",
  184. "sentry.incidents.endpoints.bases",
  185. "sentry.incidents.endpoints.organization_alert_rule_details",
  186. "sentry.incidents.endpoints.organization_alert_rule_index",
  187. "sentry.incidents.endpoints.organization_incident_comment_details",
  188. "sentry.incidents.endpoints.organization_incident_index",
  189. "sentry.incidents.subscription_processor",
  190. "sentry.incidents.tasks",
  191. "sentry.integrations.api.bases.integration",
  192. "sentry.integrations.aws_lambda.integration",
  193. "sentry.integrations.bitbucket.client",
  194. "sentry.integrations.bitbucket.installed",
  195. "sentry.integrations.bitbucket.integration",
  196. "sentry.integrations.bitbucket.issues",
  197. "sentry.integrations.bitbucket.uninstalled",
  198. "sentry.integrations.bitbucket_server.client",
  199. "sentry.integrations.bitbucket_server.integration",
  200. "sentry.integrations.example.integration",
  201. "sentry.integrations.example.repository",
  202. "sentry.integrations.github.client",
  203. "sentry.integrations.github.integration",
  204. "sentry.integrations.github.issues",
  205. "sentry.integrations.github_enterprise.integration",
  206. "sentry.integrations.gitlab.client",
  207. "sentry.integrations.gitlab.integration",
  208. "sentry.integrations.gitlab.issues",
  209. "sentry.integrations.jira.actions.form",
  210. "sentry.integrations.jira.client",
  211. "sentry.integrations.jira.integration",
  212. "sentry.integrations.jira.views.base",
  213. "sentry.integrations.jira.webhooks.base",
  214. "sentry.integrations.jira.webhooks.issue_updated",
  215. "sentry.integrations.jira_server.client",
  216. "sentry.integrations.jira_server.integration",
  217. "sentry.integrations.metric_alerts",
  218. "sentry.integrations.msteams.actions.form",
  219. "sentry.integrations.msteams.client",
  220. "sentry.integrations.msteams.integration",
  221. "sentry.integrations.msteams.notifications",
  222. "sentry.integrations.notifications",
  223. "sentry.integrations.pagerduty.actions.form",
  224. "sentry.integrations.pagerduty.client",
  225. "sentry.integrations.pagerduty.integration",
  226. "sentry.integrations.pipeline",
  227. "sentry.integrations.slack.actions.form",
  228. "sentry.integrations.slack.integration",
  229. "sentry.integrations.slack.message_builder.notifications.issues",
  230. "sentry.integrations.slack.notifications",
  231. "sentry.integrations.slack.unfurl.discover",
  232. "sentry.integrations.slack.utils.channel",
  233. "sentry.integrations.slack.utils.users",
  234. "sentry.integrations.slack.webhooks.command",
  235. "sentry.integrations.slack.webhooks.event",
  236. "sentry.integrations.utils.commit_context",
  237. "sentry.integrations.utils.sync",
  238. "sentry.integrations.vercel.client",
  239. "sentry.integrations.vercel.integration",
  240. "sentry.integrations.vercel.webhook",
  241. "sentry.integrations.vsts.client",
  242. "sentry.integrations.vsts.integration",
  243. "sentry.integrations.vsts.issues",
  244. "sentry.integrations.vsts.repository",
  245. "sentry.integrations.vsts_extension.integration",
  246. "sentry.issues.search",
  247. "sentry.middleware.auth",
  248. "sentry.middleware.ratelimit",
  249. "sentry.middleware.superuser",
  250. "sentry.monitors.consumers.monitor_consumer",
  251. "sentry.monitors.endpoints.base",
  252. "sentry.monitors.endpoints.monitor_ingest_checkin_attachment",
  253. "sentry.monitors.endpoints.organization_monitor_index",
  254. "sentry.net.http",
  255. "sentry.net.socket",
  256. "sentry.notifications.notifications.activity.base",
  257. "sentry.notifications.notifications.activity.release",
  258. "sentry.notifications.notifications.integration_nudge",
  259. "sentry.pipeline.base",
  260. "sentry.pipeline.views.base",
  261. "sentry.pipeline.views.nested",
  262. "sentry.plugins.bases.data_forwarding",
  263. "sentry.plugins.bases.issue",
  264. "sentry.plugins.bases.issue2",
  265. "sentry.plugins.bases.notify",
  266. "sentry.plugins.config",
  267. "sentry.plugins.endpoints",
  268. "sentry.receivers.releases",
  269. "sentry.release_health.metrics_sessions_v2",
  270. "sentry.replays.endpoints.project_replay_clicks_index",
  271. "sentry.rules.actions.integrations.base",
  272. "sentry.rules.actions.integrations.create_ticket.form",
  273. "sentry.rules.actions.integrations.create_ticket.utils",
  274. "sentry.rules.filters.assigned_to",
  275. "sentry.rules.history.preview",
  276. "sentry.scim.endpoints.members",
  277. "sentry.scim.endpoints.teams",
  278. "sentry.scim.endpoints.utils",
  279. "sentry.search.events.builder.errors",
  280. "sentry.search.events.builder.metrics",
  281. "sentry.search.events.datasets.discover",
  282. "sentry.search.events.datasets.filter_aliases",
  283. "sentry.search.events.datasets.function_aliases",
  284. "sentry.search.events.datasets.metrics",
  285. "sentry.search.events.datasets.metrics_layer",
  286. "sentry.search.events.fields",
  287. "sentry.search.events.filter",
  288. "sentry.search.snuba.executors",
  289. "sentry.search.utils",
  290. "sentry.sentry_apps.installations",
  291. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  292. "sentry.shared_integrations.client.proxy",
  293. "sentry.snuba.errors",
  294. "sentry.snuba.issue_platform",
  295. "sentry.snuba.metrics.datasource",
  296. "sentry.snuba.metrics.fields.base",
  297. "sentry.snuba.metrics.query_builder",
  298. "sentry.snuba.sessions_v2",
  299. "sentry.snuba.spans_indexed",
  300. "sentry.snuba.spans_metrics",
  301. "sentry.tagstore.snuba.backend",
  302. "sentry.tagstore.types",
  303. "sentry.tasks.auth",
  304. "sentry.tasks.base",
  305. "sentry.testutils.cases",
  306. "sentry.testutils.helpers.notifications",
  307. "sentry.utils.auth",
  308. "sentry.utils.committers",
  309. "sentry.utils.services",
  310. "sentry.web.forms.accounts",
  311. "sentry.web.frontend.auth_login",
  312. "sentry.web.frontend.auth_organization_login",
  313. "sentry.web.frontend.base",
  314. "sentry.web.frontend.oauth_authorize",
  315. "sentry.web.frontend.oauth_token",
  316. "sentry.web.frontend.react_page",
  317. "sentry.web.frontend.setup_wizard",
  318. "sentry.web.frontend.shared_group_details",
  319. "sentry.web.frontend.twofactor",
  320. "sentry_plugins.bitbucket.client",
  321. "sentry_plugins.bitbucket.mixins",
  322. "sentry_plugins.github.plugin",
  323. "sentry_plugins.jira.plugin",
  324. "tests.sentry.api.bases.test_organization",
  325. "tests.sentry.api.bases.test_project",
  326. "tests.sentry.api.bases.test_team",
  327. "tests.sentry.api.endpoints.notifications.test_notification_actions_details",
  328. "tests.sentry.api.endpoints.notifications.test_notification_actions_index",
  329. "tests.sentry.api.endpoints.test_event_attachment_details",
  330. "tests.sentry.api.helpers.test_group_index",
  331. "tests.sentry.api.test_authentication",
  332. "tests.sentry.api.test_base",
  333. "tests.sentry.api.test_event_search",
  334. "tests.sentry.eventstore.test_base",
  335. "tests.sentry.issues.test_utils",
  336. ]
  337. disable_error_code = [
  338. "arg-type",
  339. "assignment",
  340. "attr-defined",
  341. "call-arg",
  342. "call-overload",
  343. "dict-item",
  344. "index",
  345. "misc",
  346. "operator",
  347. "override",
  348. "return-value",
  349. "typeddict-item",
  350. "typeddict-unknown-key",
  351. "union-attr",
  352. "unreachable",
  353. "var-annotated",
  354. ]
  355. # end: sentry modules with typing issues
  356. # begin: stronger typing
  357. [[tool.mypy.overrides]]
  358. module = [
  359. "sentry.api.endpoints.project_backfill_similar_issues_embeddings_records",
  360. "sentry.api.helpers.deprecation",
  361. "sentry.api.helpers.source_map_helper",
  362. "sentry.auth.services.*",
  363. "sentry.auth.view",
  364. "sentry.buffer.*",
  365. "sentry.build.*",
  366. "sentry.db.models.fields.citext",
  367. "sentry.db.models.fields.foreignkey",
  368. "sentry.db.models.fields.hybrid_cloud_foreign_key",
  369. "sentry.db.models.fields.types",
  370. "sentry.db.models.manager.*",
  371. "sentry.db.models.paranoia",
  372. "sentry.db.models.utils",
  373. "sentry.deletions.*",
  374. "sentry.digests.notifications",
  375. "sentry.eventstore.reprocessing.redis",
  376. "sentry.eventtypes.error",
  377. "sentry.grouping.component",
  378. "sentry.grouping.fingerprinting",
  379. "sentry.grouping.ingest.*",
  380. "sentry.grouping.parameterization",
  381. "sentry.hybridcloud.*",
  382. "sentry.identity.github_enterprise.*",
  383. "sentry.ingest.slicing",
  384. "sentry.integrations.models.integration_feature",
  385. "sentry.issues",
  386. "sentry.issues.analytics",
  387. "sentry.issues.apps",
  388. "sentry.issues.constants",
  389. "sentry.issues.endpoints",
  390. "sentry.issues.endpoints.group_activities",
  391. "sentry.issues.endpoints.group_event_details",
  392. "sentry.issues.endpoints.group_events",
  393. "sentry.issues.endpoints.group_participants",
  394. "sentry.issues.endpoints.organization_group_index_stats",
  395. "sentry.issues.endpoints.organization_group_search_views",
  396. "sentry.issues.endpoints.organization_release_previous_commits",
  397. "sentry.issues.endpoints.organization_searches",
  398. "sentry.issues.endpoints.project_events",
  399. "sentry.issues.endpoints.project_stacktrace_link",
  400. "sentry.issues.endpoints.related_issues",
  401. "sentry.issues.endpoints.shared_group_details",
  402. "sentry.issues.endpoints.team_groups_old",
  403. "sentry.issues.escalating_group_forecast",
  404. "sentry.issues.escalating_issues_alg",
  405. "sentry.issues.forecasts",
  406. "sentry.issues.ignored",
  407. "sentry.issues.ingest",
  408. "sentry.issues.issue_occurrence",
  409. "sentry.issues.json_schemas",
  410. "sentry.issues.merge",
  411. "sentry.issues.occurrence_consumer",
  412. "sentry.issues.ongoing",
  413. "sentry.issues.priority",
  414. "sentry.issues.producer",
  415. "sentry.issues.query",
  416. "sentry.issues.receivers",
  417. "sentry.issues.related.*",
  418. "sentry.issues.run",
  419. "sentry.issues.status_change",
  420. "sentry.issues.status_change_consumer",
  421. "sentry.issues.status_change_message",
  422. "sentry.issues.update_inbox",
  423. "sentry.lang.java.processing",
  424. "sentry.llm.*",
  425. "sentry.migrations.*",
  426. "sentry.models.event",
  427. "sentry.models.eventattachment",
  428. "sentry.models.groupsubscription",
  429. "sentry.monkey",
  430. "sentry.nodestore.base",
  431. "sentry.nodestore.bigtable.backend",
  432. "sentry.nodestore.django.backend",
  433. "sentry.nodestore.django.models",
  434. "sentry.nodestore.filesystem.backend",
  435. "sentry.nodestore.models",
  436. "sentry.organizations.*",
  437. "sentry.ownership.*",
  438. "sentry.plugins.base.response",
  439. "sentry.plugins.base.view",
  440. "sentry.profiles.*",
  441. "sentry.projects.services.*",
  442. "sentry.ratelimits.leaky_bucket",
  443. "sentry.relay.config.metric_extraction",
  444. "sentry.reprocessing2",
  445. "sentry.runner.*",
  446. "sentry.search.snuba.backend",
  447. "sentry.sentry_metrics.consumers.indexer.slicing_router",
  448. "sentry.snuba.metrics.extraction",
  449. "sentry.stacktraces.platform",
  450. "sentry.tasks.beacon",
  451. "sentry.tasks.commit_context",
  452. "sentry.tasks.on_demand_metrics",
  453. "sentry.tasks.reprocessing2",
  454. "sentry.tasks.store",
  455. "sentry.taskworker.*",
  456. "sentry.testutils.helpers.task_runner",
  457. "sentry.types.actor",
  458. "sentry.types.region",
  459. "sentry.users.*",
  460. "sentry.utils.arroyo",
  461. "sentry.utils.assets",
  462. "sentry.utils.audit",
  463. "sentry.utils.celery",
  464. "sentry.utils.codeowners",
  465. "sentry.utils.colors",
  466. "sentry.utils.email.*",
  467. "sentry.utils.env",
  468. "sentry.utils.event",
  469. "sentry.utils.files",
  470. "sentry.utils.function_cache",
  471. "sentry.utils.geo",
  472. "sentry.utils.imports",
  473. "sentry.utils.iterators",
  474. "sentry.utils.javascript",
  475. "sentry.utils.lazy_service_wrapper",
  476. "sentry.utils.locking.*",
  477. "sentry.utils.migrations",
  478. "sentry.utils.numbers",
  479. "sentry.utils.otp",
  480. "sentry.utils.performance_issues.detectors.*",
  481. "sentry.utils.performance_issues.performance_detection",
  482. "sentry.utils.pubsub",
  483. "sentry.utils.redis",
  484. "sentry.utils.redis_metrics",
  485. "sentry.utils.sentry_apps.*",
  486. "sentry.utils.sms",
  487. "sentry.utils.snowflake",
  488. "sentry.utils.urls",
  489. "sentry.utils.uwsgi",
  490. "sentry.utils.zip",
  491. "sentry.web.frontend.auth_provider_login",
  492. "sentry.web.frontend.cli",
  493. "sentry.web.frontend.csv",
  494. "sentry_plugins.base",
  495. "tests.sentry.deletions.test_group",
  496. "tests.sentry.event_manager.test_event_manager",
  497. "tests.sentry.grouping.ingest.test_seer",
  498. "tests.sentry.grouping.test_fingerprinting",
  499. "tests.sentry.hybridcloud.*",
  500. "tests.sentry.issues",
  501. "tests.sentry.issues.endpoints",
  502. "tests.sentry.issues.endpoints.test_actionable_items",
  503. "tests.sentry.issues.endpoints.test_organization_group_search_views",
  504. "tests.sentry.issues.endpoints.test_organization_searches",
  505. "tests.sentry.issues.endpoints.test_project_stacktrace_link",
  506. "tests.sentry.issues.endpoints.test_related_issues",
  507. "tests.sentry.issues.endpoints.test_source_map_debug",
  508. "tests.sentry.issues.test_attributes",
  509. "tests.sentry.issues.test_escalating",
  510. "tests.sentry.issues.test_escalating_issues_alg",
  511. "tests.sentry.issues.test_group_attributes_dataset",
  512. "tests.sentry.issues.test_grouptype",
  513. "tests.sentry.issues.test_ignored",
  514. "tests.sentry.issues.test_ingest",
  515. "tests.sentry.issues.test_issue_occurrence",
  516. "tests.sentry.issues.test_issue_velocity",
  517. "tests.sentry.issues.test_json_schemas",
  518. "tests.sentry.issues.test_merge",
  519. "tests.sentry.issues.test_occurrence_consumer",
  520. "tests.sentry.issues.test_ongoing",
  521. "tests.sentry.issues.test_priority",
  522. "tests.sentry.issues.test_producer",
  523. "tests.sentry.issues.test_run",
  524. "tests.sentry.issues.test_search_issues_dataset",
  525. "tests.sentry.issues.test_status_change",
  526. "tests.sentry.issues.test_status_change_consumer",
  527. "tests.sentry.issues.test_update_inbox",
  528. "tests.sentry.ownership.*",
  529. "tests.sentry.ratelimits.test_leaky_bucket",
  530. "tests.sentry.relay.config.test_metric_extraction",
  531. "tests.sentry.tasks.test_on_demand_metrics",
  532. "tests.sentry.types.test_actor",
  533. "tests.sentry.types.test_region",
  534. "tests.sentry.web.frontend.test_cli",
  535. "tools.*",
  536. ]
  537. disallow_any_generics = true
  538. disallow_untyped_defs = true
  539. # end: stronger typing