Skip to content

Commit

Permalink
fix: style check
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo-Baussart-ANSYS committed Nov 18, 2024
1 parent 3bee730 commit e75cfbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansys/dpf/core/helpers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def indent(text, subsequent_indent="", initial_indent=None):

lines = text.rstrip().splitlines()
indented_lines = [

Check warning on line 61 in src/ansys/dpf/core/helpers/utils.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/dpf/core/helpers/utils.py#L60-L61

Added lines #L60 - L61 were not covered by tests
f"{initial_indent if index == 0 else subsequent_indent}{line}" for (index, line) in enumerate(lines)
f"{initial_indent if index == 0 else subsequent_indent}{line}"
for (index, line) in enumerate(lines)
]

return "\n".join(indented_lines)

Check warning on line 66 in src/ansys/dpf/core/helpers/utils.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/dpf/core/helpers/utils.py#L66

Added line #L66 was not covered by tests

0 comments on commit e75cfbc

Please sign in to comment.