pyproject.toml 20 KB

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