-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STY: absolute imports in __init__ files #30828
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
Conversation
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 ping on green
@@ -1,16 +1,16 @@ | |||
from .base import ( # noqa: F401 | |||
from pandas.core.arrays.base import ( # noqa: F401 |
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.
If you wanted to clean up more I think preferable to specify all instead of noqa: F401 for these
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.
can you give me an example?
I don't understand what do you mean by all or you meant __all__?
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.
Yea the latter
I was just about to ping :) |
Thanks @MomIsBestFriend |
Personally, I am -1 on those changes (or #30827). |
@jorisvandenbossche I actually did want to discuss this, so I opened this PR which as you can see has only two changes. And when it got merged I saw it as an approval to go and change even more files. Anyway, I don't mind reverting #30822, #30827, #30828. |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff