-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix flake8 issues in doc/source/whatsnew/v0.24.0.rst #24200
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
Comments
Thanks a lot for creating all these @saurav2608 |
@datapythonista , @FHaase ,
|
The line seems correct. I'm not sure if the lines reported are from the original file, or from a temporary file that is generated. If @FHaase is unable to help, I think the best you can do is temporary remove parts of the file, until you can identify which is the actual code generating the error. |
Have you tried aligning the '...:' with those above?
|
Or like this:
|
@saurav2608 I could also add this to my PR #24217. Let me know. |
@thoo : Thanks. If you have the fix please include in your PR. But the comments are required. |
@saurav2608 Thanks. I will add this to my PR and will comment about it. |
We didn't start validating the format of PEP8 and other code standards in the documentation examples until recently. We still have some files with errors, that we need to skip, and that we should fix, so we can start validating them.
The first step of this issue would be edit
setup.cfg
in the pandas home, and in the flake8-rst section, remove from theexclude
list the filedoc/source/whatsnew/v0.24.0.rst
After that, running the next command will report the errors in the file (note that syntax error usually prevent to validate other errors, and the list of errors to fix can become much longer when the syntax error is fixed (please make sure that you are using
flake8-rst
version 0.7.0 or higher):Once all the errors are addressed, please open a pull request with the fixes in the file, and removing the file from setup.cfg. If you need to do something that feels wrong to fix an error, please ask in a comment to this issue. Please avoid other unrelated changes, which can be addressed in a separate pull request.
cc: @datapythonista
The text was updated successfully, but these errors were encountered: