Browse Source

ref: fix typing in sentry.ingest.inbound_filters (#63265)

<!-- Describe your PR here. -->
anthony sottile 1 year ago
parent
commit
aad402ff9b
2 changed files with 1 additions and 2 deletions
  1. 0 1
      pyproject.toml
  2. 1 1
      src/sentry/ingest/inbound_filters.py

+ 0 - 1
pyproject.toml

@@ -304,7 +304,6 @@ module = [
     "sentry.incidents.models",
     "sentry.incidents.models",
     "sentry.incidents.subscription_processor",
     "sentry.incidents.subscription_processor",
     "sentry.incidents.tasks",
     "sentry.incidents.tasks",
-    "sentry.ingest.inbound_filters",
     "sentry.integrations.aws_lambda.integration",
     "sentry.integrations.aws_lambda.integration",
     "sentry.integrations.base",
     "sentry.integrations.base",
     "sentry.integrations.bitbucket.client",
     "sentry.integrations.bitbucket.client",

+ 1 - 1
src/sentry/ingest/inbound_filters.py

@@ -79,7 +79,7 @@ def set_filter_state(filter_id, project, state):
         if state is None:
         if state is None:
             state = {}
             state = {}
 
 
-        option_val = "0"
+        option_val: object = "0"
         if "active" in state:
         if "active" in state:
             if state["active"]:
             if state["active"]:
                 option_val = "1"
                 option_val = "1"