From 23ce38e002b39f2b7fb247c49257f628f6aef5ab Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Tue, 30 Jan 2024 22:44:33 -0600 Subject: [PATCH] flake8 --- stack_orchestrator/deploy/k8s/deploy_k8s.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/stack_orchestrator/deploy/k8s/deploy_k8s.py b/stack_orchestrator/deploy/k8s/deploy_k8s.py index ed8dc6b2..045d1893 100644 --- a/stack_orchestrator/deploy/k8s/deploy_k8s.py +++ b/stack_orchestrator/deploy/k8s/deploy_k8s.py @@ -12,8 +12,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import sys - from datetime import datetime, timezone from pathlib import Path @@ -162,9 +160,9 @@ class K8sDeployer(Deployer): print(f"{ingress_resp}") else: if opts.o.debug: - print(f"No ingress configured") + print("No ingress configured") - def down(self, timeout, volumes): + def down(self, timeout, volumes): # noqa: C901 self.connect_api() # Delete the k8s objects # Create the host-path-mounted PVs for this deployment @@ -244,7 +242,7 @@ class K8sDeployer(Deployer): _check_delete_exception(e) else: if opts.o.debug: - print(f"No ingress to delete") + print("No ingress to delete") if self.is_kind(): # Destroy the kind cluster