Reformat NBI to standardized format
[osm/NBI.git] / osm_nbi / tests / send_kafka.py
index 6835654..d066d14 100755 (executable)
@@ -40,13 +40,17 @@ if __name__ == "__main__":
             exit(0)
 
         if len(sys.argv) != 4:
-            print("missing parameters. Type --help for more information", file=sys.stderr)
+            print(
+                "missing parameters. Type --help for more information", file=sys.stderr
+            )
             exit(1)
 
         topic, key, message = sys.argv[1:]
         host = getenv("OSMNBI_HOST", "localhost")
         port = getenv("OSMNBI_PORT", "9999")
-        url = "https://{host}:{port}/osm/test/message/{topic}".format(host=host, port=port, topic=topic)
+        url = "https://{host}:{port}/osm/test/message/{topic}".format(
+            host=host, port=port, topic=topic
+        )
         print(url)
         data = {key: message}