From: David Garcia Date: Fri, 12 Feb 2021 16:18:39 +0000 (+0100) Subject: Fix flake8 minor issues X-Git-Tag: branch-sol006v331-start~15 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F10305%2F1;p=osm%2FN2VC.git Fix flake8 minor issues Change-Id: I1348e9807b8071a1cbf50b97144069a5b6709def Signed-off-by: David Garcia --- 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 b1b5a60..df3e1c3 100644 --- a/n2vc/tests/unit/test_k8s_helm3_conn.py +++ b/n2vc/tests/unit/test_k8s_helm3_conn.py @@ -446,7 +446,7 @@ class TestK8sHelm3Conn(asynctest.TestCase): if args[0] == "k8sclusters": return { "_admin": { - "helm_chart_repos" : [ + "helm_chart_repos": [ "4b5550a9-990d-4d95-8a48-1f4614d6ac9c" ] }