Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Bump mypy from 0.782 to 0.790 (#4723)
Browse files Browse the repository at this point in the history
* Bump mypy from 0.782 to 0.790

Bumps [mypy](https://github.com/python/mypy) from 0.782 to 0.790.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.782...v0.790)

Signed-off-by: dependabot[bot] <support@github.com>

* make mypy happy

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: epwalsh <epwalsh10@gmail.com>
  • Loading branch information
dependabot[bot] and epwalsh committed Oct 12, 2020
1 parent cccad29 commit d3c69f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion allennlp/common/file_utils.py
Expand Up @@ -139,7 +139,7 @@ def cached_path(
cache_dir = os.path.expanduser(cache_dir)
os.makedirs(cache_dir, exist_ok=True)

if isinstance(url_or_filename, PathLike):
if not isinstance(url_or_filename, str):
url_or_filename = str(url_or_filename)

file_path: str
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Expand Up @@ -4,7 +4,7 @@
flake8

# Static type checking
mypy==0.782
mypy==0.790

# Automatic code formatting
black==20.8b1
Expand Down

0 comments on commit d3c69f7

Please sign in to comment.