Multiline summary is not split correctly #315
Labels
C: convention
Relates to docstring format convention
P: bug
PEP 257 violation or existing functionality that doesn't work as documented
U: high
I saw the error in CI because I used
master
(that was needed for a while to use withpre-commit
version 4 and above).Some multi lines sentences are split incorrectly. This is the behavior of the function
split_summary
I think this comes from the
split_summary
function that does this:and inserts at the wrong place if we have sentences that are too long.
I am not familiar with the code base, but maybe something along those lines could work?
This gives:
I do not know if the result should be processed more before returning or if it is something that is taken into account elsewhere in the codebase.
The text was updated successfully, but these errors were encountered: