-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Labels
Description
📚 Documentation
The pre-commit hook to check these rules was added in #5762.
The outstanding rules review and ideally adoption are below as defined in pyproject.toml (section [tool.numpydoc_validation]). There is an option to keep them ignored only it absolutely needed.
-
GL08The object does not have a docstring :1320 errors -
PR01Parameters ... not documented :951 errors -
PR02Unknown parameters {....} -74 errors -
PR04Parameter "...." has no type :407 errors -
PR07Parameter "...." has no description :47 errors -
RT01No Returns section found :609 errors -
RT03Return value has no description :219 errors
To test these rules just comment out one at a time and then run the pre-commit locally via pre-commit run --all-files.
For more information see https://numpydoc.readthedocs.io/en/latest/validation.html.
See also #5625 ruff: incremental adoption.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status