pyproject.toml 20 KB

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