Skip to content

Commit

Permalink
Revert "Update function ordering in formatter"
Browse files Browse the repository at this point in the history
This reverts commit 6d78a0e.
  • Loading branch information
NripeshN committed Dec 4, 2023
1 parent 6d78a0e commit ab2285e
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 @@ -442,7 +442,7 @@ def sort_key(item: Tuple[str, ast.AST]) -> Tuple[float, int, str]:
and hasattr(n, "name")
and n.name == related_function
][0]
return (1, function_position, target_str)
return (6, function_position, target_str)

if _is_assignment_target_an_attribute(node):
return (5.5, 0, target_str)
Expand Down

0 comments on commit ab2285e

Please sign in to comment.