Skip to content

Conversation

@Nic-Ma
Copy link
Contributor

@Nic-Ma Nic-Ma commented Jan 22, 2021

Fixes #1492 .

Description

This PR fixed the new mypy errors after upgrading to 0.8.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Nic-Ma and others added 2 commits January 22, 2021 23:24
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Jan 22, 2021

/black

@Nic-Ma Nic-Ma requested a review from wyli January 22, 2021 15:29
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a minimal workaround for mypy v0.8

@wyli wyli merged commit cb7a9a0 into Project-MONAI:master Jan 22, 2021
@Nic-Ma Nic-Ma deleted the fix-mypy-0.8-errors branch July 2, 2021 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mypy errors for type check

2 participants