From: David Garcia Date: Fri, 12 Feb 2021 16:18:39 +0000 (+0100) Subject: Fix flake8 minor issues X-Git-Tag: v9.1.0~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F10317%2F2;p=osm%2FN2VC.git Fix flake8 minor issues Change-Id: I1348e9807b8071a1cbf50b97144069a5b6709def Signed-off-by: David Garcia (cherry picked from commit 5ab1064304b993ea6364b5d932c5c0cb7434cfb7) --- 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" ] }