Skip to content

Commit 4f8c306

Browse files
committed
Remove unused type: ignore comments
1 parent ea7273a commit 4f8c306

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
@@ -736,7 +736,7 @@ def is_mount(self) -> bool:
736736

737737
if sys.version_info < (3, 8): # pragma: no cover (py38+)
738738

739-
def rename(self: _P, target: Union[str, pathlib.PurePath]) -> _P: # type: ignore
739+
def rename(self: _P, target: Union[str, pathlib.PurePath]) -> _P:
740740
"""
741741
Rename this path to the target path.
742742
@@ -755,7 +755,7 @@ def rename(self: _P, target: Union[str, pathlib.PurePath]) -> _P: # type: ignor
755755
os.rename(self, target)
756756
return self.__class__(target)
757757

758-
def replace(self: _P, target: Union[str, pathlib.PurePath]) -> _P: # type: ignore
758+
def replace(self: _P, target: Union[str, pathlib.PurePath]) -> _P:
759759
"""
760760
Rename this path to the target path, overwriting if that path exists.
761761

0 commit comments

Comments
 (0)