Reformat files according to new black validation 05/12905/1
authorDario Faccin <dario.faccin@canonical.com>
Wed, 1 Feb 2023 15:56:28 +0000 (16:56 +0100)
committerDario Faccin <dario.faccin@canonical.com>
Wed, 1 Feb 2023 15:56:28 +0000 (16:56 +0100)
Change-Id: Ie550b7a41d14260080c9602df91d646e486e6884
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
installers/charm/kafka-exporter/src/charm.py
installers/charm/keystone/src/charm.py
installers/charm/lcm/src/charm.py
installers/charm/mon/src/charm.py
installers/charm/nbi/src/charm.py
installers/charm/pla/src/charm.py
installers/charm/pol/src/charm.py

index ec6eaab..07a854f 100755 (executable)
@@ -96,7 +96,6 @@ class KafkaEndpoint:
 
 
 class KafkaExporterCharm(CharmedOsmBase):
-
     on = KafkaEvents()
 
     def __init__(self, *args) -> NoReturn:
index 39a7a00..446d2e0 100755 (executable)
@@ -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()
 
index 7c64418..5319763 100755 (executable)
@@ -140,7 +140,6 @@ class ConfigModel(ModelValidator):
 
 
 class LcmCharm(CharmedOsmBase):
-
     on = KafkaEvents()
 
     def __init__(self, *args) -> NoReturn:
index db047c0..9ad49ad 100755 (executable)
@@ -126,7 +126,6 @@ class ConfigModel(ModelValidator):
 
 
 class MonCharm(CharmedOsmBase):
-
     on = KafkaEvents()
 
     def __init__(self, *args) -> NoReturn:
index 4aaecb9..cb47d1c 100755 (executable)
@@ -118,7 +118,6 @@ class ConfigModel(ModelValidator):
 
 
 class NbiCharm(CharmedOsmBase):
-
     on = KafkaEvents()
 
     def __init__(self, *args) -> NoReturn:
index 36a11dc..d907f0b 100755 (executable)
@@ -76,7 +76,6 @@ class ConfigModel(ModelValidator):
 
 
 class PlaCharm(CharmedOsmBase):
-
     on = KafkaEvents()
 
     def __init__(self, *args) -> NoReturn:
index 7b92b45..94f6ecb 100755 (executable)
@@ -87,7 +87,6 @@ class ConfigModel(ModelValidator):
 
 
 class PolCharm(CharmedOsmBase):
-
     on = KafkaEvents()
 
     def __init__(self, *args) -> NoReturn: