Skip to content

MAINT,TST: use inspect.cleandoc ind docstring prep. #287

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

Closed
wants to merge 1 commit into from

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Jul 20, 2020

Adding this PR for reference: see discussion in #285

Switch from textwrap.dedent to inspect.cleandoc to handle
initial docstring cleaning in NumpyDocString. Does a better job of
handling the case where the first line has a different indentation
level than the remainder of the docstring.

Switch from textwrap.dedent to inspect.cleandoc to handle
initial docstring cleaning in NumpyDocString. Does a better job of
handling the case where the first line has a different indentation
level than the remainder of the docstring.
@rossbar rossbar mentioned this pull request Jul 20, 2020
@jnothman
Copy link
Member

jnothman commented Aug 2, 2020

CI is failing

@rossbar
Copy link
Contributor Author

rossbar commented Aug 3, 2020

Yes this is discussed here. This PR is mostly for illustrative purposes to aid discussion in #286. I will close it in favor of #286 for now!

@rossbar rossbar closed this Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants