-
Notifications
You must be signed in to change notification settings - Fork 4
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
Clean up unreachable code #28
Comments
Another one here: diagnostics-NME/solutions/validate_data.py Lines 30 to 35 in 6653c80
|
One more here: diagnostics-NME/solutions/validate_data.py Lines 74 to 80 in 6653c80
This one has also that ending If you want to be very explicit (which is not a bad idea), then it's better to do: return None |
Hi team,
I'm going through your project. A minor thing that would require some cleanup is at the end of the
metrics.py
file:diagnostics-NME/solutions/metrics.py
Lines 41 to 44 in 6653c80
Because of the return, that code will not be executed. Therefore, it is better to just remove it.
The text was updated successfully, but these errors were encountered: