-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update style docs for list
parameters
#181
Comments
This fix should either add a new section in the user guide, or check if there's an existing section on documentation style and edit it. |
Hi , I would like to take this up. Is there any other guide I first need to follow for this task or anything i need to know before start working on this @lilyminium @PicoCentauri ? also, do i need to assigned to this task in order to contribute for this task? |
@robotjellyzone, no need to assign you here. If you say you work in this everybody knows :) I suggest adding details on the style in the section about guidelines for writing docstrings. |
@PicoCentauri can you please elaborate more regarding which section needs to be changed and exactly what I need to change? |
First off all you could add another example in the code example def func(arg1, arg2, arg3):
"""Summary line.
Extended description of function.
Parameters
----------
arg1 : int
Description of `arg1`
arg2 : str
Description of `arg2`
arg2 : list[str]
Description of `arg2` And add a something like in lines of. The parameter and attribute types should follow type hint recommendations. |
i am done with the changes. can you please once check @PicoCentauri @lilyminium pr #200 |
PR #3482 in the main repo changed the style of parameter docs for lists. Parameters are tagged following the type hints notation of Python i.e.
list[int]
. This should be consistently followed in the repo.The text was updated successfully, but these errors were encountered: