Skip to content

STYLE: Inconsistent namespace - apply (pandas-dev#39992) #40029

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

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

punitvara
Copy link
Contributor

@punitvara punitvara commented Feb 24, 2021

Fix inconsistent namespace in apply directory.

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @punitvara , pending green this looks good to me

@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Feb 24, 2021
@MarcoGorelli MarcoGorelli added this to the 1.3 milestone Feb 24, 2021
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for a whatsnew note, can you revert it please?

It looks like you've done this correctly, but now some of the other hooks are failing (e.g. black, can you fix them up please?

@punitvara
Copy link
Contributor Author

punitvara commented Feb 24, 2021

@MarcoGorelli Sure. I have reverted it back. Thanks for guiding me. Hope this looks fine now.

@MarcoGorelli
Copy link
Member

MarcoGorelli commented Feb 24, 2021

Hope this looks fine now.

You still need to fixup the error from the black formatter

pre-commit run --files pandas/tests/apply/test_frame_apply.py pandas/tests/apply/test_series_apply.py

Or just comment @github-actions pre-commit and that'll trigger a workflow which'll fix it up for you

Fix inconsistent namespace in apply directory.
@punitvara
Copy link
Contributor Author

Done.

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's correct, thanks!

@jreback
Copy link
Contributor

jreback commented Feb 24, 2021

@MarcoGorelli go ahead and merge PRs like this that are all green-ish

@MarcoGorelli
Copy link
Member

sure, thanks - flake8 and the rest pass, so this should be good to go

@MarcoGorelli MarcoGorelli merged commit 4502c2e into pandas-dev:master Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants