Skip to content

Commit

Permalink
flake8 fixes; cleanups;
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjan-stha committed Feb 1, 2024
1 parent 51f4f19 commit 32fb381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion analysis_module/mockserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import requests
import logging
import random
import numpy as np

from random import shuffle
from math import ceil
Expand Down
3 changes: 2 additions & 1 deletion analysis_module/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def send_callback_url_request(callback_url: str, client_id: str, filepath: str,
logging.error("No callback url found.")
return json.dumps({"status": "No callback url found."}), 400

def get_geolocations(excerpts: List[str], req_timeout: int=60):

def get_geolocations(excerpts: List[str], req_timeout: int = 60):
""" Get geolocations from excerpts by requesting from geolocation module """
if not GEOLOCATION_ECS_ENDPOINT:
logging.error("The geolocation module endpoint not found.")
Expand Down

0 comments on commit 32fb381

Please sign in to comment.