Skip to content

Commit 20150a0

Browse files
committed
Add missing return type annotation.
1 parent d580302 commit 20150a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsutil/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ def _write_file_non_atomic(
13451345
*,
13461346
append: bool = False,
13471347
encoding: str = "utf-8",
1348-
):
1348+
) -> None:
13491349
mode = "a" if append else "w"
13501350
with open(path, mode, encoding=encoding) as file:
13511351
file.write(content)

0 commit comments

Comments
 (0)