Skip to content

Conversation

@Nic-Ma
Copy link
Contributor

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

Fixes #2418 .

Description

This PR fixed the new mypy issues caused by numpy update.

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 -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Nic-Ma and others added 7 commits February 1, 2021 19:15
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Jun 22, 2021

/black

@Nic-Ma Nic-Ma changed the title [WIP] 2418 Fix mypy errors caused by numpy(1.21.0) 2418 Fix mypy errors caused by numpy(1.21.0) Jun 22, 2021
@Nic-Ma Nic-Ma marked this pull request as ready for review June 22, 2021 17:06
@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli June 22, 2021 17:06
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.

thanks!

@Nic-Ma Nic-Ma enabled auto-merge (squash) June 22, 2021 17:15
@Nic-Ma Nic-Ma merged commit 3f452c4 into Project-MONAI:dev Jun 22, 2021
@Nic-Ma Nic-Ma deleted the 2418-fix-numpy-mypy branch July 2, 2021 23:36
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.

New numpy(1.21.0) raised many typehint issues

2 participants