From 43c369590272c1c1b72b309f1a5df209ec45e287 Mon Sep 17 00:00:00 2001 From: Janani Neelamekam Date: Tue, 19 Dec 2023 17:30:00 -0800 Subject: [PATCH] Resolving lint issues --- src/dispatch/event/service.py | 2 -- src/dispatch/plugins/dispatch_google/docs/plugin.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dispatch/event/service.py b/src/dispatch/event/service.py index 9d1a3cbca870..103eba8f2685 100644 --- a/src/dispatch/event/service.py +++ b/src/dispatch/event/service.py @@ -5,8 +5,6 @@ import json import pytz -from requests import HTTPError - from dispatch.auth import service as auth_service from dispatch.case import service as case_service from dispatch.incident import service as incident_service diff --git a/src/dispatch/plugins/dispatch_google/docs/plugin.py b/src/dispatch/plugins/dispatch_google/docs/plugin.py index 1d52a873e71e..ea6897b96aee 100644 --- a/src/dispatch/plugins/dispatch_google/docs/plugin.py +++ b/src/dispatch/plugins/dispatch_google/docs/plugin.py @@ -88,7 +88,7 @@ def get_table_details(self, document_id: str, header: str): table_exists = False table_indices = [] headingId = "" - for i, element in enumerate(document_content): + for element in document_content: if "paragraph" in element and "elements" in element["paragraph"]: for item in element["paragraph"]["elements"]: if "textRun" in item: