Support for different line-wrapping conventions: no two sentences on the same line #123
Labels
C: stakeholder
Relates to docformatter stakeholder requested behavior
P: enhancement
Feature that is outside the scope of PEP 257
U: low
A relatively low urgency issue
Milestone
The following would be nice to have as an option: only wrap long lines, but do not join two subsequent sentences into one line.
For example:
Having each sentence on its own line(s) makes it easier to visualize changes in text with
git diff
.Otherwise, one small change in a long paragraph may cause many lines to be affected due to rewrapping of subsequent sentences, which makes the
git diff
output harder to process.The each-sentence-on-its-own-line convention is something I got used to by working on LaTeX projects in Git, but it is such a nice improvement over rewrapping (manual or automatic), that I started using it in docstrings and markdown files as well.
I can imagine this would not be the preferred convention for everyone, but I would certainly use it, if it were an option.
The text was updated successfully, but these errors were encountered: