Skip to content

Commit

Permalink
Bump mypy from 0.982 to 0.991 (#4345)
Browse files Browse the repository at this point in the history
* Bump mypy from 0.982 to 0.991

Bumps [mypy](https://github.com/python/mypy) from 0.982 to 0.991.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.982...v0.991)

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

Signed-off-by: dependabot[bot] <[email protected]>

* this mypy ignore is no longer needed

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael R. Crusoe <[email protected]>
  • Loading branch information
dependabot[bot] and mr-c authored Feb 3, 2023
1 parent eb21245 commit 887dede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ stubserver>=1.1,<2
setuptools>=51.3.3,<63
sphinx>=4,<6
cwltest>=2.2.20211116163652
mypy==0.982
mypy==0.991
types-requests
types-setuptools
types-boto
Expand Down
6 changes: 1 addition & 5 deletions src/toil/cwl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,7 @@ def visit_cwl_class_and_reduce(
return results


# Define a recursive type to represent a directory structure.
# The only problem is that MyPy can't yet type check recursive types like this.
# See: https://github.com/python/mypy/issues/731
# So we have to tell MyPy to ignore it.
DirectoryStructure = Dict[str, Union[str, "DirectoryStructure"]] # type: ignore
DirectoryStructure = Dict[str, Union[str, "DirectoryStructure"]]


def download_structure(
Expand Down

0 comments on commit 887dede

Please sign in to comment.