-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Minor code improvements #2017
Minor code improvements #2017
Conversation
Codecov Report
@@ Coverage Diff @@
## rewrite #2017 +/- ##
===========================================
- Coverage 99.83% 99.83% -0.01%
===========================================
Files 151 151
Lines 8457 8450 -7
Branches 875 871 -4
===========================================
- Hits 8443 8436 -7
Misses 3 3
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
result.extend(args) | ||
result.extend(install_command[opts_at + 1 :]) | ||
return result | ||
return install_command[:opts_at] + list(args) + install_command[opts_at + 1 :] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again if you don't save the return value into a variable is a PITA to debug when something here is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was not reverted, but set resolved? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments; shorter is not always better
Reverted/adjusted all your comments, thank you! (although some reverted steps will itch me next time again :-) ) |
Some tiny independent refactorings probably without need to be mentioned in the changelog.