From 63d9c9932721e98a9d6715686214157e276af105 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Sat, 21 May 2022 12:11:58 +0300 Subject: Fix linting errors --- gn3/api/correlation.py | 2 +- gn3/commands.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3') diff --git a/gn3/api/correlation.py b/gn3/api/correlation.py index e362b38..5f2d486 100644 --- a/gn3/api/correlation.py +++ b/gn3/api/correlation.py @@ -9,7 +9,7 @@ from flask import request from flask import current_app from gn3.settings import SQL_URI -from gn3.commands import queue_cmd, run_async_cmd, compose_pcorrs_command +from gn3.commands import run_async_cmd, compose_pcorrs_command from gn3.db_utils import database_connector from gn3.responses.pcorrs_responses import build_response from gn3.computations.correlations import map_shared_keys_to_values diff --git a/gn3/commands.py b/gn3/commands.py index 5770902..9684eeb 100644 --- a/gn3/commands.py +++ b/gn3/commands.py @@ -111,5 +111,5 @@ def run_async_cmd( """A utility function to call `gn3.commands.queue_cmd` function and run the worker in the `one-shot` mode.""" cmd_id = queue_cmd(conn, job_queue, cmd, email, env) - subprocess.Popen(["python3", "sheepdog/worker.py"]) + subprocess.Popen(["python3", "sheepdog/worker.py"]) # pylint: disable=[consider-using-with] return cmd_id -- cgit v1.2.3