From 09ddd7c0b924d59b2c4dab18fd5eb5996afd1c13 Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Thu, 14 Sep 2023 11:00:45 +0200 Subject: [PATCH] skip: fix lint --- charms/argo-controller/src/charm.py | 8 ++------ charms/argo-controller/src/components/pebble_component.py | 3 ++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/charms/argo-controller/src/charm.py b/charms/argo-controller/src/charm.py index 76c6c3e..4fedbaf 100755 --- a/charms/argo-controller/src/charm.py +++ b/charms/argo-controller/src/charm.py @@ -150,14 +150,10 @@ def _context_callable(self): "app_name": self.app.name, "namespace": self.model.name, "access_key": b64encode( - self.object_storage_relation.component.get_data()["access-key"].encode( - "utf-8" - ) + self.object_storage_relation.component.get_data()["access-key"].encode("utf-8") ).decode("utf-8"), "secret_key": b64encode( - self.object_storage_relation.component.get_data()["secret-key"].encode( - "utf-8" - ) + self.object_storage_relation.component.get_data()["secret-key"].encode("utf-8") ).decode("utf-8"), "mlpipeline_minio_artifact_secret": "mlpipeline-minio-artifact-secret", "argo_controller_configmap": ARGO_CONTROLLER_CONFIGMAP, diff --git a/charms/argo-controller/src/components/pebble_component.py b/charms/argo-controller/src/components/pebble_component.py index 3d27cfd..35688d6 100644 --- a/charms/argo-controller/src/components/pebble_component.py +++ b/charms/argo-controller/src/components/pebble_component.py @@ -16,7 +16,8 @@ class ArgoControllerPebbleService(PebbleServiceComponent): - """Pebble service container component to configure Pebble layer""" + """Pebble service container component to configure Pebble layer.""" + def __init__( self, *args,