Skip to content

STYLE fixup cython linting #42142

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 5 commits into from
Aug 8, 2021

Conversation

MarcoGorelli
Copy link
Member

the alias means you can run pre-commit run flake8-cython --all-files

@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Jun 20, 2021
@jreback
Copy link
Contributor

jreback commented Jul 4, 2021

can you merge master

@mroeschke mroeschke added this to the 1.4 milestone Jul 11, 2021
@@ -2109,7 +2109,7 @@ cpdef bint is_interval_array(ndarray values):
if not (
util.is_float_object(val.left)
or util.is_integer_object(val.left)
Copy link
Member

Choose a reason for hiding this comment

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

i think dedent these?

# is in NA values
if kh_get_str_starts_item(na_hashset, word):
Copy link
Member

Choose a reason for hiding this comment

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

the linter wants comments before the if?

Copy link
Member Author

Choose a reason for hiding this comment

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

or just an indented comment - I've gone with that, thanks

@jreback jreback merged commit cda37fb into pandas-dev:master Aug 8, 2021
@jreback
Copy link
Contributor

jreback commented Aug 8, 2021

thanks @MarcoGorelli very nice!

@MarcoGorelli MarcoGorelli deleted the fixup-cython-linting branch August 9, 2021 07:59
feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 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.

4 participants