pyproject.toml 20 KB

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