Skip to content

Commit 74e8dbf

Browse files
committed
typing: fix missing a return type
1 parent bbd28a1 commit 74e8dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/litmodels/io/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
@contextmanager
12-
def _suppress_os_stderr():
12+
def _suppress_os_stderr() -> None:
1313
devnull_fd = os.open(os.devnull, os.O_WRONLY)
1414
old_stderr_fd = os.dup(2)
1515
os.dup2(devnull_fd, 2) # redirect stderr (fd 2) to /dev/null

0 commit comments

Comments
 (0)