This repository was archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 187
IndentationError on line continuations for numpydoc #437
Comments
Sorry if it's redundant but here's some additional info I mistakenly attributed to another module:
You can replicate it with a file containing
and you can avoid the error with several varying changes, like matching the indent of |
So the error happens because the docstrings are not indented properly. As a result textwrap.dedent can |
2 tasks
Shoudl be fixed by #441 |
6 tasks
sambhav
added a commit
to sambhav/pydocstyle
that referenced
this issue
May 8, 2020
In order to determine the missing arguments, we currently use ast.parse to parse partial source code. This parsing might lead to syntax errors. We catch the syntax error and make the parsing more resilient to errors in the source code. Fixes PyCQA#437
sambhav
added a commit
that referenced
this issue
Jul 8, 2020
In order to determine the missing arguments, we currently use ast.parse to parse partial source code. This parsing might lead to syntax errors. We catch the syntax error and make the parsing more resilient to errors in the source code. Fixes #437
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
as of pydocstyle 5.0.1:
analyzing with --convention=numpy results in
The text was updated successfully, but these errors were encountered: