-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
WIP/PEP8: pandas/core #11945
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
WIP/PEP8: pandas/core #11945
Conversation
just merged: #11941 will show the linting effect in travis (though not fail because of it). FYI, I have found |
I am also ok with doing this in sections (3 files sounds about right). So when one is ready to go. pls ping. |
f9419df
to
d980794
Compare
green...there are still a few E731 lambda should be def, but substantially better than before. |
@@ -345,7 +352,8 @@ def _gotitem(self, key, ndim, subset=None): | |||
""" | |||
raise AbstractMethodError(self) | |||
|
|||
_agg_doc = """Aggregate using input function or dict of {column -> function} | |||
_agg_doc = """Aggregate using input function or dict of {column -> | |||
function} |
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.
There should not be a indentation here I think
@rockg can you specify what you exactly did? Is this the result of an automated tool (autopep8), or from manual clean-up? Apart from that I put some comments of things that are not subjective. |
Manual with the aid of editor defaults for line continuation, etc. I'm happy to go through and change any persistent issues, but my main goal here was to result in no output from flake8. |
As 90% of the issues are long-lines and autopep8 doesn't do that I felt it was easier to do manually. |
|
that reminds me - we should recommend autopep8 any way to setup default options? like we do for flake8 |
Looks like it
it seem to look for a file called |
Yes, seems that it does. I was only going on the comment above. Is it in such a state to use autopep8 for this set or only do that for future ones? |
For eventual continuity with the rest of the source, I'll use autopep8 and repush. |
can u add in the config file for autopep8 as well |
thanks @rockg |
xref #11928
Putting this out there as a start. Will add to this over the next couple of days.