pydocstringformatter
pydocstringformatter copied to clipboard
Cut lines that exceed a number of caracter and reorganize docstrings
Like prettier does. Must not break numpy/google style docstrings. Should not break the first line, except if there is multiple sentence then it should take only the first one and move the rest in the body of the docstring.
Default to 88 char like black, but should probably be configurable ?
Current status of TODO:
- [ ] Search for settings of other tools (black, pylint) of max-line-length after #105
- [ ] Handle line-wrapping of descriptions
- [ ] Handle numpy/google style docstrings gracefully with line wrapping
I'm going to move this from the 0.6.0
milestone as I'm quite happy with releasing 0.6.0
with inclusion of only summary wrapping.