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
Added default check to register #271
Conversation
Hi Daniel, you beat me. I added:
Some ideas:
Other than that it looks good, I think we had a similar idea! I'll add my comments as a review as good practice. |
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.
Hereby the ideas expressed in the comment above.
By the way I've checked your implementation* and it works like a charm! *See (at bottom of):
|
Thanks for your comments. As discussed, I added all needed changes. |
Great! I think you only missed this one: for plugin in self._plugin_class_registry.values(): |
Super strange, I changed .items() into values(), but forgot to remove the provides field. Sometimes I doubt my mental health... :D |
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 Daniel and Joran!
Checking if defaults are set consistently when registering a new plugin.