From c45f079833eaa937cf198f5921c5806a9c8a19e3 Mon Sep 17 00:00:00 2001 From: Lila Date: Tue, 22 Oct 2024 13:25:41 -0400 Subject: [PATCH] Fix formatting of all 3 functions to be PEP257 compliant --- awx/main/utils/plugins.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/main/utils/plugins.py b/awx/main/utils/plugins.py index 067e764b3b71..fd891a474a24 100644 --- a/awx/main/utils/plugins.py +++ b/awx/main/utils/plugins.py @@ -10,7 +10,8 @@ @cache def discover_available_cloud_provider_plugin_names() -> list[str]: - """Return a list of cloud plugin names available in runtime. + """ + Return a list of cloud plugin names available in runtime. The discovery result is cached since it does not change throughout the life cycle of the server run. @@ -29,7 +30,8 @@ def discover_available_cloud_provider_plugin_names() -> list[str]: @cache def compute_cloud_inventory_sources() -> dict[str, str]: - """Return a dictionary of cloud provider plugin names + """ + Return a dictionary of cloud provider plugin names available plus source control management and constructed. :returns: Dictionary of plugin cloud names plus source control.