Closed jonathanberthias closed 1 year ago
There is a small bug related to first word capitalization.
If the summary ends with a dot, then the first word is not capitalized. If the dot is missing, then it is added and the first word is capitalized.
Example:
Running with no options:
def f(): """this is a docstring summary""" return 0
gets fixed to:
def f(): """This is a docstring summary.""" return 0
But
def f(): """this is a docstring summary.""" return 0
is not changed by docformatter.
docformatter
There is a small bug related to first word capitalization.
If the summary ends with a dot, then the first word is not capitalized. If the dot is missing, then it is added and the first word is capitalized.
Example:
Running with no options:
gets fixed to:
But
is not changed by
docformatter
.