Enforce black code format via pre-commit hook
[vvp/validation-scripts.git] / ice_validator / tests / utils / vm_types.py
index ae14336..ae6d7ff 100644 (file)
@@ -83,7 +83,11 @@ def get_vm_types_for_resource(resource):
 
 def is_nova_server(resource):
 
-    return "type" in resource and "properties" in resource and resource.get("type") == "OS::Nova::Server"
+    return (
+        "type" in resource
+        and "properties" in resource
+        and resource.get("type") == "OS::Nova::Server"
+    )
 
 
 def get_vm_type_for_nova_server(resource):