-
Notifications
You must be signed in to change notification settings - Fork 84
seemingly correct format reformatted? #78
New issue
Have a que 8000 stion 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
Comments
Doesn’t reST require a blank line between the directive with its parameter and the body of the directive? |
I believe this portion of the docstring |
As suggested in Lightning-AI/pytorch-lightning#9422 (comment), one workaround is: def close():
"""Do any cleanup that is necessary to close an experiment.
Having this line avoids the formatting.
.. deprecated:: v1.5
This method is deprecated in v1.5 and will be removed in v1.7.
Please use ``something something`` instead.
""" |
@jjenniferdai with v1.6.2 (and possibly earlier versions), the following remains untouched by docformatter unless passing the
I'm closing this since the reported issue is no longer the behavior of |
hi, docformatter edits this seemingly correct format, is there something we're missing?
Lightning-AI/pytorch-lightning@6d12d69
Adding an extra line (Lightning-AI/pytorch-lightning#9422 (comment)) seems to make docformatter happy, was there something off with the original though? Thank you!
The text was updated successfully, but these errors were encountered: