Skip to content

Commit

Permalink
append_to_stem: " -> '
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Jun 3, 2024
1 parent 6624b4f commit 818d4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stgpytools/types/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def write_lines(
) -> int:
return super().write_text('\n'.join(data), encoding, errors, newline)

def append_to_stem(self, suffixes: str | Iterable[str], sep: str = "_") -> SPath:
def append_to_stem(self, suffixes: str | Iterable[str], sep: str = '_') -> SPath:
"""Append a suffix to the stem of the path"""

return self.with_stem(sep.join([self.stem, *to_arr(suffixes)])) # type:ignore[list-item]
Expand Down

0 comments on commit 818d4d2

Please sign in to comment.