Skip to content

Commit

Permalink
build(deps-dev): Bump mypy from 0.910 to 0.920
Browse files Browse the repository at this point in the history
Bumps [mypy](https://github.com/python/mypy) from 0.910 to 0.920.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.910...v0.920)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and pmrowla committed Dec 16, 2021
1 parent 0bf56fe commit 970cbfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dvc/fs/fsspec_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ def upload_fobj(self, fobj: IO, to_info: AnyFSPath, **kwargs) -> None:
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
)


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 970cbfa

Please sign in to comment.