Skip to content

Commit

Permalink
Update docs_formatter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
he11owthere authored Nov 29, 2023
1 parent e2c659b commit 168ba13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy_lint/formatters/docs_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def format_docstring(self, doc):
if idx in lines_to_modify:
formatted_lines.append(line)
indentation = len(formatted_lines[-2]) - len(formatted_lines[-2].lstrip())
formatted_lines[-1] = (indentation * ' ') + '...' + line[indentation+3:]
formatted_lines[-1] = (indentation * ' ') + '...' + line[indentation:]
continue
formatted_lines.append(line)

Expand Down

0 comments on commit 168ba13

Please sign in to comment.