From 04686d9251e8dd3c5ac2d617aa5a1b5552e769d1 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Fri, 12 Feb 2021 17:18:39 +0100 Subject: [PATCH] Fix flake8 minor issues Change-Id: I1348e9807b8071a1cbf50b97144069a5b6709def Signed-off-by: David Garcia (cherry picked from commit 5ab1064304b993ea6364b5d932c5c0cb7434cfb7) --- n2vc/loggable.py | 2 +- n2vc/tests/unit/test_k8s_helm3_conn.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/n2vc/loggable.py b/n2vc/loggable.py index d588a1d..b3b98da 100644 --- a/n2vc/loggable.py +++ b/n2vc/loggable.py @@ -115,7 +115,7 @@ class Loggable: if not include_path: i = filename.rfind("/") if i > 0: - filename = filename[i + 1 :] + filename = filename[i + 1:] # datetime dt = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f") diff --git a/n2vc/tests/unit/test_k8s_helm3_conn.py b/n2vc/tests/unit/test_k8s_helm3_conn.py index 0403004..3b81323 100644 --- a/n2vc/tests/unit/test_k8s_helm3_conn.py +++ b/n2vc/tests/unit/test_k8s_helm3_conn.py @@ -445,7 +445,7 @@ class TestK8sHelm3Conn(asynctest.TestCase): if args[0] == "k8sclusters": return { "_admin": { - "helm_chart_repos" : [ + "helm_chart_repos": [ "4b5550a9-990d-4d95-8a48-1f4614d6ac9c" ] } -- 2.25.1