Skip to content

Commit

Permalink
Update spacing in python sdk coverage script (#2135)
Browse files Browse the repository at this point in the history
Co-authored-by: Sierra Guequierre <[email protected]>
  • Loading branch information
npentrel and sguequierre authored Nov 1, 2023
1 parent 763ec7a commit 045fe7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check_python_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def parse(type, names):
description_extras[field] = extras_values

# Parameters
method_text.append("**Parameters:** \n")
method_text.append("**Parameters:**\n\n")
no_parameters = True
if "Parameters:" in description_extras:
no_parameters = False
Expand Down Expand Up @@ -142,7 +142,7 @@ def parse(type, names):
method_text.append("\n")

# Returns
method_text.append("**Returns:** \n")
method_text.append("**Returns:**\n\n")
if "Returns:" in description_extras:
# Return type
if "Return type:" in description_extras:
Expand All @@ -158,7 +158,7 @@ def parse(type, names):

# Raises
if "Raises:" in description_extras:
method_text.append("**Raises:** \n")
method_text.append("**Raises:**\n\n")

extras_values = description_extras["Raises:"]

Expand All @@ -171,9 +171,9 @@ def parse(type, names):
else:
method_text.append("- {extra_values}\n\n".format(extra_values=extras_values.text))
else:
method_text.append("**Parameters:** \n")
method_text.append("**Parameters:**\n\n")
method_text.append("- None.\n\n")
method_text.append("**Returns:** \n")
method_text.append("**Returns:**\n\n")
method_text.append("- None.\n\n")


Expand Down Expand Up @@ -246,4 +246,4 @@ def print_method_information(missing_methods, methods_dict):
print(f"Total SDK methods missing: {total_sdk_methods_missing} \n\nMissing Method Information: \n")
print_method_information(missing_services, services_dict)
print_method_information(missing_components, components_dict)
# sys.exit(1)
# sys.exit(1)

0 comments on commit 045fe7f

Please sign in to comment.