diff --git a/dvc/fs/fsspec_wrapper.py b/dvc/fs/fsspec_wrapper.py index 33b5969e7..868e7da1d 100644 --- a/dvc/fs/fsspec_wrapper.py +++ b/dvc/fs/fsspec_wrapper.py @@ -141,7 +141,9 @@ class FSSpecWrapper(FileSystem): self.makedirs(self.path.parent(to_info)) with self.open(to_info, "wb") as fdest: shutil.copyfileobj( - fobj, fdest, length=getattr(fdest, "blocksize", None) + fobj, + fdest, + length=getattr(fdest, "blocksize", None), # type: ignore ) diff --git a/setup.cfg b/setup.cfg index 9202668f4..aa91e2cf4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -152,7 +152,7 @@ tests = # and, protected method calls in our tests pylint-plugin-utils==0.6 # type-checking - mypy==0.910 + mypy==0.920 types-requests==2.26.1 types-tabulate==0.8.3 types-toml==0.10.1