Skip to content

Commit cdd21e3

Browse files
committed
Fix a type checking error.
1 parent a23050a commit cdd21e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rubisco/lib/pathlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def normpath(self) -> "Path":
3737
Path: The normalized path.
3838
3939
"""
40-
return Path(os.path.normpath(str(self)))
40+
return Path(os.path.normpath(str(self))) # type: ignore[return-value]
4141

4242

4343
# In Python 3.11, parent's @classmethod will catch children.

0 commit comments

Comments
 (0)