-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Result of a docstring formatter and some manual fixes on top of it #5624
Conversation
@Pierre-Sassoulas Not sure if this is the right tool for the job. I took a quick look through the repository and some open issues can also be problematic for us. Another is: I'd like to find a good tool to do this, but this one might not be it sadly 😢 |
Pull Request Test Coverage Report for Build 1898844568
💛 - Coveralls |
doc/exts/pylint_features.py
Outdated
"""Script used to generate the features file before building the actual | ||
documentation.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please let's not do that. It's just not worth it. Not everything needs to be perfect.
@Pierre-Sassoulas I have started working on a little tool to do some of the things that I think it should be ready for a |
4060436
to
708fbaf
Compare
1594ff0
to
18d9c67
Compare
@Pierre-Sassoulas The latest fix also seems to have affected functional tests? Was this your intention? Are these 6k changes all manual? |
It's docformatter + manual and semi manual (sed) after that. I should not have touched the functional tests. I'm going to fix that, but I think doing DanielNoord/pydocstringformatter#3 and DanielNoord/pydocstringformatter#5 before would be cleaner. Are you already working on it or can I work on them ? |
Shall we convert this to draft while I work on |
18d9c67
to
67d18fc
Compare
67d18fc
to
60916f9
Compare
5d86980
to
05440f1
Compare
We're getting close with Based on this I think we only need:
I think all of these are already tracked or are on my to-do list so we don't need to open any new issues. Let's keep this open as a reminder and progress tracker 😄 |
9a4bfdf
to
e8aeaf3
Compare
Closing in favor of #5910 |
Type of Changes
Description
Add a pre-commit hook to format our docstring automatically for pep257 using https://github.com/myint/docformatter
Possible options:
Suggested by @DanielNoord #5620 (comment)