Closed jonyscathe closed 1 year ago
The problem is actually this pattern file:
It's being picked up as a URL and wrapping everything before file:
as the description leading up to the URL.
I have the fix, so I'll make it part of v1.7.2 which should be released in the next few days. I would stick with v1.6.5 until I fix this rather than renaming variables.
@jonyscathe this should be fixed in v1.7.2-rc4.
Closing this issue to #231.
Say I have a file that contains only:
If I run docformatter over that file with arguments
--black --in-place --pre-summary-newline -- wrap-summaries=120 --wrap-descriptions=120
then I get the output:So docformatter has kept my 5 lines of parameter descriptions, but added three weird line above that.... The issue seems to be when there is a parameter ending with
_file
.This was not an issue in 1.6.5, but is an issue in 1.7.1.
Not too sure how to fix this other than renaming all my variables.