-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
Fix import formatting using isort #23334
Comments
I would like to help out with this issue. Can I please work on the following directories?
|
Hey @alexander-ponomaroff thanks for looking to contribute! I've put you down for dtypes and groupby first so we can concentrate on getting those merged first. Then we can look into the others. Let us know on here if you need any help. |
Thank you very much @alimcmaster1 . I will start working on this as soon as possible. |
@alimcmaster1 I will be working on:
|
thanks both @thoo and @pvarshney1729 |
@alimcmaster1 Do you want several PR from the same branch ?? I have more than 20 files. |
I would recommend using separate branches so the PRs are independent of each other. |
@alimcmaster1 That is what I think. Wait for more PR :) :) |
@alimcmaster1 I've looked into dtypes and groupby, now waiting for CI checks to finish for those two pull requests. Could I now also look into the following directories that I previously requested?
|
Hi. I would like to help with this issue. May I work on those dirs?
|
I would like to help out with this issue. I will be working on
|
Still a few files to be worked on here if anyone is interested. Full list in setup.cfg, post on here if anyone is interested. |
@alimcmaster1
|
@alimcmaster1
|
@alimcmaster1 i think there could be an issue isorting asv_bench/benchmarks/, xref #22947 |
I will complete all the leftover files that havn't been mentioned above. @simonjayhawkins we should just be able to force that import to the end using isort. |
Are any of the following directories still available?
If so, I would love to take some of them! |
Hey - take a look at the isort section in the setup.cfg - that’s up to date
…Sent from my iPhone
On 26 Jan 2019, at 14:24, Andrew Gaspari ***@***.***> wrote:
Are any of the following directories still available?
pandas/tests/indexes/multi
pandas/tests/indexes/interval
pandas/tests/indexes/timedeltas
pandas/tests/io/formats/
pandas/tests/io/msgpack/
If so, I would love to take some of them!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@alimcmaster1 Sorry, I missed that in the thread. It looks like the only ones left are the asv_bench/benchmark files, I'll take a crack at some of those. I saw the comment about keeping the setup imports at the bottom of the file, so I'll make sure to keep an eye out for that. Thank you for responding so quickly before! |
@simonjayhawkins actually let's create a new one with the remaining items. |
Following on from #23048. We now need to run isort on all *.py files in the codebase that we are ignoring in CI see here. Information on Isort here
Useful commands:
To sort imports in files in pandas directory ( ignoring those explicitly mentioned in setup.cfg)
isort --recursive pandas
To check imports are formatted correctly:
isort --recursive --check-only pandas
Find a directory you wish to fix from the list below( larger directories by # of files)
And comment on here that you are working on fixing. To avoid duplicated efforts.
Directories we need to cover:
PRs must contain no more than 20 files.
For new contributors please first take a look at our Contributing Guide
Pandas-Dev: Could we please add the following labels "Style", "Good first Issue", Contributions Welcome" and any more you feel appropriate.
Thanks,
Alistair
The text was updated successfully, but these errors were encountered: