-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix flake8 issues in doc/source/whatsnew/v0.15.*.rst #24239
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
Can i work on this issue? |
@joybhallaa : please go ahead. |
I have not been able to remove line too long error, all other issues are taken care of, only undefined errors are present with the exception of line too long error. |
can you open a pull request @joybhallaa, so we can comment on it. |
When i run python make.py html I'm getting the error |
Can you try with a |
@joybhallaa - Did you follow the instructions given at Contributing to the documentation. You will have to create a dev environment. |
I know i'm probably annoying you guys,but i want to get these changes push as soon as possible :) |
most of them are solved by replacing To run the docs you need to compile pandas C code first |
@datapythonista - the issue is that a variable ts is defined in a previous block and is reused in the current block. Is there a way to connect these blocks. I saw some reference to directives such as |
Afaik the version of In any case, let's better wait until there is a PR, it's not very efficient to discuss the code without having it or being able to comment on it. |
xref: #24177
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.
Two steps are required to replicate the issue
setup.cfg
in the pandas home, and in the flake8-rst section, remove from theexclude
list the filedoc/source/whatsnew/v0.15.0.rst
,doc/source/whatsnew/v0.15.1.rst
&doc/source/whatsnew/v0.15.2.rst
from pandas import *
) from the lines (8-11) of the filev0.15.*.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: