Closed dclong closed 3 years ago
Looks like you have an improperly escaped newline in your docstring. If you change the docstring to a raw docstring (i.e. r"""..."""
), everything works as expected.
It looks like when the ast module returns the docstring, because this line is indented 4 spaces less than all others, it doesn't adjust the indentation correctly. And darglint can't (?) preprocess the docstring correct the indentation because that would involve parsing the python module, and not just the docstring.
I have a file containing the following code.
With the following configuration,
darglint
reports missing parameters.