Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typing issue in premerge #4568

Closed
wyli opened this issue Jun 23, 2022 · 1 comment
Closed

typing issue in premerge #4568

wyli opened this issue Jun 23, 2022 · 1 comment

Comments

@wyli
Copy link
Contributor

wyli commented Jun 23, 2022

Describe the bug
typing issue

mypy 0.961 (compiled: yes)
monai/transforms/utils_pytorch_numpy_unification.py:279:9: error: Returning Any from function declared to return "Union[ndarray[Any, Any], Tensor]"  [no-any-return]
Found 1 error in 1 file (checked 867 source files)

https://github.com/Project-MONAI/MONAI/runs/7020517619?check_suite_focus=true

@wyli
Copy link
Contributor Author

wyli commented Jun 23, 2022

I'll fix this minor issue in #4561

wyli added a commit to function2-llx/MONAI that referenced this issue Jun 23, 2022
Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli closed this as completed Jun 23, 2022
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

No branches or pull requests

1 participant