Skip to content

Commit

Permalink
Fix mypy issue (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjbull authored Nov 14, 2022
1 parent 63575d7 commit 96759b0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions cloudpathlib/cloudpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,12 +787,14 @@ def copytree(
self,
destination: Union[str, os.PathLike, "CloudPath"],
force_overwrite_to_cloud: bool = False,
ignore: Callable[
[
Union[str, os.PathLike, "CloudPath"],
List[Union[str, os.PathLike, "CloudPath"]],
],
collections.abc.Iterable,
ignore: Optional[
Callable[
[
Union[str, os.PathLike, "CloudPath"],
List[Union[str, os.PathLike, "CloudPath"]],
],
collections.abc.Iterable,
]
] = None,
) -> Union[Path, "CloudPath"]:
"""Copy self to a directory, if self is a directory."""
Expand Down

0 comments on commit 96759b0

Please sign in to comment.