You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take any docstring and write a short summary (the first line of the docstring) on multiple lines. Then test it with ./scripts/validate_docstrings.py pandas.DataFrame.my_method.
Problem description
As discussed in #22516 and in the documentation, the first line of the docstring should be a short summary and shouldn't take more than one line.
Expected Output
An error stating that the first line (the short summary) should not be more than one line long.
The text was updated successfully, but these errors were encountered:
@Moisan feel free to send a PR, you can use the beginning of your original docstring for the test that reproduces the error. I guess it has to do with the latex code, as in most cases the script works as expected.
Code Sample, a copy-pastable example if possible
Take any docstring and write a short summary (the first line of the docstring) on multiple lines. Then test it with
./scripts/validate_docstrings.py pandas.DataFrame.my_method
.Problem description
As discussed in #22516 and in the documentation, the first line of the docstring should be a short summary and shouldn't take more than one line.
Expected Output
An error stating that the first line (the short summary) should not be more than one line long.
The text was updated successfully, but these errors were encountered: