-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] Simplify super() calls #12812
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
[MRG] Simplify super() calls #12812
Conversation
Now that Python 2 is removed from the CI we can call super without additional arguments.
|
Fair enough. I just had a small PR on the dummies a few month ago, where we discussed this change and decided to wait until Python 2 is removed from the CI. So I thought it might be time now. In #11991 super calls are identified as something that should be changed. I would also be happy to remove all them! |
Cool, then we can wait until #12639 is merged and then you can go ahead with the |
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.
Changing this in __init__
of estimators sounds reasonable, but I wonder if making the change in base classes (see below) is really equivalent in functionality.
This was probably causing the CI error
These were not responsible for the error and can hopefully be safely removed.
Issues with the test are resolved. From my side this would be ready to merge. |
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.
Reverting changes to externals is the only blocker for merge here. Otherwise LGTM
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
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, thanks @JarnoRFB !
This reverts commit 129c28f.
This reverts commit 129c28f.
Now that Python 2 is removed from the CI we can call super without
additional arguments.