This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 7096e0603f792dce9cad61cf9d1ae0b4710ca277
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Thu Apr 18 18:03:03 2024 +0200

    Reformat code with black.
---
 libcloud/compute/drivers/__init__.py     | 2 +-
 libcloud/compute/drivers/equinixmetal.py | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/libcloud/compute/drivers/__init__.py 
b/libcloud/compute/drivers/__init__.py
index 39aa15df7..ba5af8427 100644
--- a/libcloud/compute/drivers/__init__.py
+++ b/libcloud/compute/drivers/__init__.py
@@ -33,5 +33,5 @@ __all__ = [
     "vcloud",
     "vpsnet",
     "onapp",
-    "equinixmetal"
+    "equinixmetal",
 ]
diff --git a/libcloud/compute/drivers/equinixmetal.py 
b/libcloud/compute/drivers/equinixmetal.py
index 7ea78271b..6832d9a17 100644
--- a/libcloud/compute/drivers/equinixmetal.py
+++ b/libcloud/compute/drivers/equinixmetal.py
@@ -305,7 +305,9 @@ def _list_async(driver):
 
         location_code = location.extra["code"]
         if not self._valid_location:
-            raise ValueError("Failed to create node: valid parameter metro 
[code] is required in the input")
+            raise ValueError(
+                "Failed to create node: valid parameter metro [code] is 
required in the input"
+            )
 
         params = {
             "hostname": name,
@@ -1069,6 +1071,7 @@ def _list_async(driver):
                 return True
         return False
 
+
 class Project:
     def __init__(self, project):
         self.id = project.get("id")

Reply via email to