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
To Reproduce
Trying to parse a docstring with the following docstring through numpydocstring
Parameters
------------*args : typing.Any
Pass through
**kwargs : typing.Any
Pass through
Leads to the following being logged when using the versions specified below
WARNING - griffe: alluka\abc.py:461: Could not parse line '*args : typing.Any'
WARNING - griffe: alluka\abc.py:461: Could not parse line '**kwargs : typing.Any'
WARNING - griffe: alluka\abc.py:461: Empty parameters section at line 4
being logged
Expected behavior
These lines shouldn't fail to parse
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
griffe == 0.12.5
mkdocstrings-python==0.6.2
py ver 3.10
OS: Win 12 - 1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
FasterSpeeding
changed the title
*args and **kwargs in Numpydoc parameter sections
*args and **kwargs lines in Numpydoc parameter sections fail to parse
Feb 18, 2022
Describe the bug
Documentation for *args and **kwargs (as according to https://numpydoc.readthedocs.io/en/latest/format.html#parameters) fails to parse in Numpydoc Parameter and Other Parameter sections
To Reproduce
Trying to parse a docstring with the following docstring through numpydocstring
Leads to the following being logged when using the versions specified below
being logged
Expected behavior
These lines shouldn't fail to parse
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
griffe == 0.12.5
mkdocstrings-python==0.6.2
py ver 3.10
OS: Win 12 - 1
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: