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
Expression Code: Refactor Multiple Lines of Code #188
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #188 +/- ##
===========================================
- Coverage 91.04% 90.95% -0.09%
===========================================
Files 58 58
Lines 3304 3274 -30
===========================================
- Hits 3008 2978 -30
Misses 296 296
Continue to review full report at Codecov.
|
Hey @yezz123 thanks for creating this! Would you mind rebasing from develop branch? (Sorry, this is my fault, ive been meaning to set develop as the default branch and keep forgetting...). I took a quick peak and looks like a lot of sound fixes/improvements to me. I'll probably take a closer look this weekend and then may have some questions/comments -- will keep you posted! Thanks again! Carl |
Hello Carl, I just rebase to the develop branch, this PR only help to enhance & Refactor the Code to be more readable by humans and easy to interact for the machine, I will try to fix the Coverage issue, then by the weekend we can discuss this PR. 🚀 |
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.
Hey @yezz123 finally got to taking a peak! Good stuff in here! Dropped a few minor comments in the review if you could take a peak and let me know what you think. The only sorta big thing is the mypy complaints... I put a proposed "fix" in there but would love to see what you think!
Thanks again for your work on this!
Carl
Hey @carlmontanari, sorry for the late responding, I have some other work that why I add this PR to bookmarks, now I just fix all that you request to change and I guess now its look good 👌🏻 |
I guess the issue come from pydocstyle let me check how i can fix it 👌🏻 |
I just Fix it ✨ |
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.
Looks like doc test fails since the commit you rebased off of had an error (not your fault of course!), and there is one darglint complaint that ill fix since it can be a bit of a pain :)
Thanks for working with me on this one -- some nice improvements in here!
Carl
Description
I just fix some parts of the code refactoring them, Also fix some code issues related to the coming version Py3.6<.
For example :
Type of change
How Has This Been Tested?
I run the linter to lint the project before the push, also after installing all requirements, I try some commands:
Checklist:
make lint
beforecommitting!)
docstrings include a summary, args, returns, and raises fields (even if N/A)
note if there are any considerations for the vrnetlab setup