We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d28bd13 commit 1958c4cCopy full SHA for 1958c4c
fgpyo/io/__init__.py
@@ -74,7 +74,7 @@ def assert_path_is_readable(path: Path) -> None:
74
"""
75
# stdin is readable
76
if path == Path("/dev/stdin"):
77
- return
+ return None
78
79
assert path.exists(), f"Cannot read non-existent path: {path}"
80
assert path.is_file(), f"Cannot read path becasue it is not a file: {path}"
0 commit comments