Skip to content

Commit a10dbd4

Browse files
committed
Remove unnecessary type: ignore comments.
1 parent 417b439 commit a10dbd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

domdf_python_tools/paths.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def rename(self: _P, target: Union[str, pathlib.PurePath]) -> _P: # type: ignor
759759
:returns: The new Path instance pointing to the target path.
760760
"""
761761

762-
os.rename(self, target) # type: ignore
762+
os.rename(self, target)
763763
return self.__class__(target)
764764

765765
def replace(self: _P, target: Union[str, pathlib.PurePath]) -> _P: # type: ignore
@@ -780,7 +780,7 @@ def replace(self: _P, target: Union[str, pathlib.PurePath]) -> _P: # type: igno
780780
:returns: The new Path instance pointing to the target path.
781781
"""
782782

783-
os.replace(self, target) # type: ignore
783+
os.replace(self, target)
784784
return self.__class__(target)
785785

786786
def unlink(self, missing_ok: bool = False) -> None:

0 commit comments

Comments
 (0)