-
Notifications
You must be signed in to change notification settings - Fork 55
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
convert hyphens to underscore for python #71
Conversation
Would you mind rebasing your PR on the updated master? |
pip.main(['uninstall', 'jupyter_widget_testwidgets', '-y']) | ||
except Exception: | ||
pass |
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.
should the test fail here if unable to uninstall? i.e. if the hyphen replacement didn't work correctly
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.
Turns out other things will also fail if the hyphen replacement didn't work so failing here probably isn't necessary
I also changed the test python package name to reflect the behavior of entering one name for the github project and then just pressing enter. |
in order to test if the hyphens are being replaced correctly
Rebased, broken, and then resuscitated - an exciting 30 minutes. Hopefully I learned a valuable lesson about the importance of testing or something. |
@martinRenou thanks for #72 - could you look at this one as well? |
Should close #54
Simpler version of: #70
This allows the typescript package to have hyphens, but converts them to dashes for the python package.