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
scripts/validate_docstrings.py validates that the content of a docstring follows our standards. There are still some of those standards that the script does not validate, and this gives the users the wrong impression that the docstring is all right, when it's not really the case. All the missing validations are listed in #20298.
In the docstrings, the order of the sections should be:
Add tests in scripts/tests/test_validate_docstrings.py
Run the script for all docstrings (i.e. ./scripts/validate_docstings.py) and check in the resulting report how many of the docstrings in pandas have the sections in the wrong order (add that information to this issue)
Test manually that running the validation for one of the wrong cases, produces an output that is useful for the users (the script can be run for one docstring using for example ./scripts/validate_docstings.py pandas.DataFrame.head, and the output is a user-friendly explanation of the errors).
The text was updated successfully, but these errors were encountered:
@datapythonista Assuming this is not taken - ill work on this - any other similar ones I can work on - looking to hit my target of 5 PRs this month for the Hacktoberfest t-shirt :)
scripts/validate_docstrings.py
validates that the content of a docstring follows our standards. There are still some of those standards that the script does not validate, and this gives the users the wrong impression that the docstring is all right, when it's not really the case. All the missing validations are listed in #20298.In the docstrings, the order of the sections should be:
This is described in:
For this issue is required:
scripts/validate_docstings.py
scripts/tests/test_validate_docstrings.py
./scripts/validate_docstings.py
) and check in the resulting report how many of the docstrings inpandas
have the sections in the wrong order (add that information to this issue)./scripts/validate_docstings.py pandas.DataFrame.head
, and the output is a user-friendly explanation of the errors).The text was updated successfully, but these errors were encountered: