Skip to content

fix comprehension error #1995

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

Merged

Conversation

rijobro
Copy link
Contributor

@rijobro rijobro commented Apr 12, 2021

Fixes local flake8 error:

monai/networks/nets/efficientnet.py:771:29: C407 Unnecessary list comprehension - 'all' can take a generator.
1     C407 Unnecessary list comprehension - 'all' can take a generator.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).

Signed-off-by: Richard Brown <[email protected]>
@rijobro rijobro requested review from wyli and Nic-Ma April 12, 2021 14:21
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!

@rijobro rijobro enabled auto-merge (squash) April 12, 2021 14:44
@rijobro rijobro merged commit d1f4e6f into Project-MONAI:master Apr 12, 2021
nsrivathsa pushed a commit to nsrivathsa/MONAI that referenced this pull request Apr 12, 2021
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Neha Srivathsa <[email protected]>
@rijobro rijobro deleted the efficientnet_all_comprehension branch April 14, 2021 10:12
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.

2 participants