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
I'm trying to specify default argument values in numpy-style docstrings and getting DOC105 errors. For example:
defbar(x: bool=True) ->None:
""" Make a bar. Parameters ---------- x: bool, default True Value of the bar """pass
generates a DOC105 error even though it appears to be right out of the numpy style guide about default values:
Before I start diving into the code, I was wondering if this is an intentional decision or if I'm misunderstanding the style guide for how to specify defaults in docstrings.
The text was updated successfully, but these errors were encountered:
I'm trying to specify default argument values in numpy-style docstrings and getting DOC105 errors. For example:
generates a DOC105 error even though it appears to be right out of the numpy style guide about default values:
Before I start diving into the code, I was wondering if this is an intentional decision or if I'm misunderstanding the style guide for how to specify defaults in docstrings.
The text was updated successfully, but these errors were encountered: