From 970cbfa64e627c41be391b708b29056ee4d6c5eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Dec 2021 02:10:34 +0000 Subject: [PATCH] build(deps-dev): Bump mypy from 0.910 to 0.920 Bumps [mypy](https://github.com/python/mypy) from 0.910 to 0.920. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.910...v0.920) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dvc/fs/fsspec_wrapper.py | 4 +++- setup.cfg | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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