-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Waiting] Add docformatter #78
Conversation
This does not work satisfyingly: running
(everything is messed up). |
that si annoying, is there another docformatter out there ? |
Probably, but I think this one is the most widely used. And apart from the bug I mentioned, it seemed to work really well. With the option So I think we should just wait for the bug to be fixed. |
Still got a different bug after their fix:
in Let's give up on using docformatter. Another problem is that there's currently no way to disable newlines after the first sentence of the docstring, leading to things like:
in This behavior is quite standard though so debatable. |
Fixes #77
Currently a bug in
docformatter
prevents us from using it.TODO:
docformatter
in.pre-commit-config.yaml
whenever the bug is fixed and the fix is released. There is an open PR for this already.pdm run pre-commit run --all-files
and commit the changes to apply the new formatting.