From: Dario Faccin Date: Wed, 1 Feb 2023 15:56:28 +0000 (+0100) Subject: Reformat files according to new black validation X-Git-Tag: release-v14.0-start~115 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F12905%2F1;p=osm%2Fdevops.git Reformat files according to new black validation Change-Id: Ie550b7a41d14260080c9602df91d646e486e6884 Signed-off-by: Dario Faccin --- diff --git a/installers/charm/kafka-exporter/src/charm.py b/installers/charm/kafka-exporter/src/charm.py index ec6eaabe..07a854fd 100755 --- a/installers/charm/kafka-exporter/src/charm.py +++ b/installers/charm/kafka-exporter/src/charm.py @@ -96,7 +96,6 @@ class KafkaEndpoint: class KafkaExporterCharm(CharmedOsmBase): - on = KafkaEvents() def __init__(self, *args) -> NoReturn: diff --git a/installers/charm/keystone/src/charm.py b/installers/charm/keystone/src/charm.py index 39a7a007..446d2e0c 100755 --- a/installers/charm/keystone/src/charm.py +++ b/installers/charm/keystone/src/charm.py @@ -248,9 +248,9 @@ class KeystoneCharm(CharmedOsmBase): ): credentials_files_builder = FilesV3Builder() fernet_files_builder = FilesV3Builder() - for (key_id, _) in enumerate(credential_keys): + for key_id, _ in enumerate(credential_keys): credentials_files_builder.add_file(str(key_id), str(key_id), secret=True) - for (key_id, _) in enumerate(fernet_keys): + for key_id, _ in enumerate(fernet_keys): fernet_files_builder.add_file(str(key_id), str(key_id), secret=True) return credentials_files_builder.build(), fernet_files_builder.build() diff --git a/installers/charm/lcm/src/charm.py b/installers/charm/lcm/src/charm.py index 7c644189..5319763f 100755 --- a/installers/charm/lcm/src/charm.py +++ b/installers/charm/lcm/src/charm.py @@ -140,7 +140,6 @@ class ConfigModel(ModelValidator): class LcmCharm(CharmedOsmBase): - on = KafkaEvents() def __init__(self, *args) -> NoReturn: diff --git a/installers/charm/mon/src/charm.py b/installers/charm/mon/src/charm.py index db047c0b..9ad49ada 100755 --- a/installers/charm/mon/src/charm.py +++ b/installers/charm/mon/src/charm.py @@ -126,7 +126,6 @@ class ConfigModel(ModelValidator): class MonCharm(CharmedOsmBase): - on = KafkaEvents() def __init__(self, *args) -> NoReturn: diff --git a/installers/charm/nbi/src/charm.py b/installers/charm/nbi/src/charm.py index 4aaecb9d..cb47d1ce 100755 --- a/installers/charm/nbi/src/charm.py +++ b/installers/charm/nbi/src/charm.py @@ -118,7 +118,6 @@ class ConfigModel(ModelValidator): class NbiCharm(CharmedOsmBase): - on = KafkaEvents() def __init__(self, *args) -> NoReturn: diff --git a/installers/charm/pla/src/charm.py b/installers/charm/pla/src/charm.py index 36a11dcb..d907f0bc 100755 --- a/installers/charm/pla/src/charm.py +++ b/installers/charm/pla/src/charm.py @@ -76,7 +76,6 @@ class ConfigModel(ModelValidator): class PlaCharm(CharmedOsmBase): - on = KafkaEvents() def __init__(self, *args) -> NoReturn: diff --git a/installers/charm/pol/src/charm.py b/installers/charm/pol/src/charm.py index 7b92b453..94f6ecb8 100755 --- a/installers/charm/pol/src/charm.py +++ b/installers/charm/pol/src/charm.py @@ -87,7 +87,6 @@ class ConfigModel(ModelValidator): class PolCharm(CharmedOsmBase): - on = KafkaEvents() def __init__(self, *args) -> NoReturn: