-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Labels
Description
By validate docstrings I mean:
- Check that the docstring format is being adhered to
- Check that all parameters in the function are available in the docstring
- Perhaps check something or other about the type information?
Ruff rules that might be of interest:
Though note that these rules don't necessarily have feature parity with the original packages (e.g., pydoclint)
The goal isn't to enable all these rules and have 100% compliance - some of these rules are just a headache. Let's pick rules that help with our goals.
The docstrings should also focus on the public API of Parcels. The private API does not have to adhere to the numpy format of docstrings, and sometimes functions don't need docstrings at all since the code is self-documenting via good variable names and easy-to-follow code
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog
Status
Backlog