-
Notifications
You must be signed in to change notification settings - Fork 6
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
Removed hardcoded PATHs in test #27
Conversation
Some distros like NixOS does not have binaries on `/bin`. Instead of hardcoding them, try to get them from PATH using shutil.which function.
Should have done this before opening PR #26. Now I can run the tests locally with success. |
Sorry for all the different PRs. With this PR and #28 I finally can run |
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.
Thanks! LGTM! Please see the suggested note to be added as a comment. (I'm on my phone, so the column width might need to be fixed if I got it 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.
LGTM! I made a minor suggestion to explain in the code why (double-post due to slow internet)shutil.which
is used for the readers who do not instinctively run git blame.
Co-authored-by: Marko Ristin <marko@ristin.ch>
@thiagokokada thanks again! I'll bump a patch version as soon as I come to a desktop computer. You plan no further immediate PRs, right? |
I don't plan any other PRs for now. Thanks for the reviews and the work in the new release 😄 . |
Some distros like NixOS does not have binaries on
/bin
. Instead of hardcoding them, try to get them from PATH usingshutil.which
function.