From d8f5d41261cc1976a661117b82c4827fc307b74f Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 23 Feb 2024 18:06:09 -0600 Subject: [PATCH] lint --- stack_orchestrator/deploy/images.py | 2 +- .../deploy/webapp/deploy_webapp_from_registry.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/stack_orchestrator/deploy/images.py b/stack_orchestrator/deploy/images.py index 78fe6204..78ce99db 100644 --- a/stack_orchestrator/deploy/images.py +++ b/stack_orchestrator/deploy/images.py @@ -35,7 +35,7 @@ def remote_image_exists(local_tag: str, remote_repo_url: str): remote_tag = remote_tag_for_image(local_tag, remote_repo_url) result = docker.manifest.inspect(remote_tag) return True if result else False - except Exception as e: # noqa: E722 + except Exception: # noqa: E722 return False diff --git a/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py b/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py index 63437c17..aa40e792 100644 --- a/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py +++ b/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py @@ -12,7 +12,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import hashlib import json import os import shlex @@ -24,9 +23,7 @@ import uuid import click -from stack_orchestrator import constants from stack_orchestrator.deploy.images import remote_image_exists -from stack_orchestrator.deploy.spec import Spec from stack_orchestrator.deploy.webapp import deploy_webapp from stack_orchestrator.deploy.webapp.util import (LaconicRegistryClient, build_container_image, push_container_image,