Skip to content

1534 type hints numpy 1 20#1536

Merged
wyli merged 7 commits intoProject-MONAI:masterfrom
wyli:1534-type-hints-np-1-20
Feb 2, 2021
Merged

1534 type hints numpy 1 20#1536
wyli merged 7 commits intoProject-MONAI:masterfrom
wyli:1534-type-hints-np-1-20

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Feb 1, 2021

Fixes #1534

Description

non-breaking changes to fix the type check issues

mainly relaxing the type constraints, referring to

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.

wyli added 4 commits February 1, 2021 18:39
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Feb 1, 2021

/black
/integration-test

@wyli wyli requested review from Nic-Ma, ericspod and rijobro February 1, 2021 21:50
@wyli wyli marked this pull request as ready for review February 1, 2021 21:51
@wyli wyli force-pushed the 1534-type-hints-np-1-20 branch from 385773e to cd500e9 Compare February 1, 2021 22:17
Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli force-pushed the 1534-type-hints-np-1-20 branch from cd500e9 to e729136 Compare February 1, 2021 22:37
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

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

Hi @wyli ,

Thanks for your quick fix for all the new type hints issues.
Looks good to me except for several minor comments.

Thanks.

@wyli wyli merged commit c415509 into Project-MONAI:master Feb 2, 2021
@wyli wyli deleted the 1534-type-hints-np-1-20 branch April 28, 2021 22:43
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.

static type checks fail since numpy 1.20

2 participants