Browse Source

chore(issues): Update stronger typing list with more issues modules (#84390)

Matt Duncan 1 month ago
parent
commit
added9b043
2 changed files with 4 additions and 1 deletions
  1. 3 0
      pyproject.toml
  2. 1 1
      src/sentry/issues/streamline.py

+ 3 - 0
pyproject.toml

@@ -368,6 +368,7 @@ module = [
     "sentry.issues.endpoints.group_events",
     "sentry.issues.endpoints.group_notes",
     "sentry.issues.endpoints.group_notes_details",
+    "sentry.issues.endpoints.group_open_periods",
     "sentry.issues.endpoints.group_similar_issues_embeddings",
     "sentry.issues.endpoints.group_tombstone",
     "sentry.issues.endpoints.group_tombstone_details",
@@ -408,6 +409,7 @@ module = [
     "sentry.issues.status_change",
     "sentry.issues.status_change_consumer",
     "sentry.issues.status_change_message",
+    "sentry.issues.streamline",
     "sentry.issues.update_inbox",
     "sentry.lang.java.processing",
     "sentry.llm.*",
@@ -553,6 +555,7 @@ module = [
     "tests.sentry.issues.endpoints.test_group_hashes",
     "tests.sentry.issues.endpoints.test_group_notes",
     "tests.sentry.issues.endpoints.test_group_notes_details",
+    "tests.sentry.issues.endpoints.test_group_open_periods",
     "tests.sentry.issues.endpoints.test_group_similar_issues_embeddings",
     "tests.sentry.issues.endpoints.test_group_tombstone",
     "tests.sentry.issues.endpoints.test_group_tombstone_details",

+ 1 - 1
src/sentry/issues/streamline.py

@@ -4,7 +4,7 @@ from sentry import options
 from sentry.models.organization import Organization
 
 
-def apply_streamline_rollout_group(organization: Organization):
+def apply_streamline_rollout_group(organization: Organization) -> None:
     # This shouldn't run multiple times, but if it does, don't re-sort the organization.
     # If they're already in the experiment, we ignore them.
     if organization.get_option("sentry:streamline_ui_only") is not None: