-
Notifications
You must be signed in to change notification settings - Fork 40
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
Tweaks to NoteInputDialog #47
base: master
Are you sure you want to change the base?
Conversation
""" | ||
def __init__(self, *args, **kwargs): | ||
def __init__(self, parent): |
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 is how we do it everywhere else in the code. I think in general, we should try to avoid the *args, **kwargs
open syntax unless we have reason to use it. It can make it trickier to make changes in the future - say for example we wanted to add some parameters to this method in the future.
""" | ||
Constructor. |
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.
minor: this was looking odd in the sphinx docs!
We have something similar here - do you think it would be worth trying to consolidate the two? |
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 good.
Improved the docs for the
NoteInputDialog
.Changed the constructor to not be open but rather specific in order to make it easier to handle future changes to the interface.