-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
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
STYLE fixup cython linting #42142
Conversation
can you merge master |
pandas/_libs/lib.pyx
Outdated
@@ -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) |
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.
i think dedent these?
# is in NA values | ||
if kh_get_str_starts_item(na_hashset, word): |
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.
the linter wants comments before the if
?
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.
or just an indented comment - I've gone with that, thanks
thanks @MarcoGorelli very nice! |
the alias means you can run
pre-commit run flake8-cython --all-files