MLMI2-CSSI/foundry

Mixed docstring styles in code base

Closed this issue · 0 comments

NOTE: This is related to JOSS review openjournals/joss-reviews#5467

Is your feature request related to a problem? Please describe.
Currently, I am coming across multiple docstring styles in the code base.

Is this intentional?

Example:

Describe the solution you'd like
Maybe add a docstring format used by Foundry in the contribution guide?

Describe alternatives you've considered
Consistent docstring format in code

NOTE: Related to the docstrings, the following upload_to_endpoint function and the docstring args do not match (https://github.com/MLMI2-CSSI/foundry/blob/main/foundry/https_upload.py#L19-L29). Missing dest_parent and dest_child in the docstrings.