Skip to content

Commit

Permalink
Update function_ordering.py
Browse files Browse the repository at this point in the history
  • Loading branch information
he11owthere authored Dec 7, 2023
1 parent aac2ec5 commit 739c047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy_lint/formatters/function_ordering.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def sort_key(item: Tuple[str, ast.AST]) -> Tuple[float, int, str]:
current_function_type = "helper"
if last_function_type != "helper":
reordered_code_list.append(
"\n# --- Helpers --- #\n# --------------- #\n"
"\n\n# --- Helpers --- #\n# --------------- #\n"
)
else:
current_function_type = "api"
Expand Down

0 comments on commit 739c047

Please sign in to comment.