Skip to content

Inconsistent extra blank line after function docstring? #345

@fmigneault

Description

@fmigneault

Using docformatter==1.7.8, I now get the following diff using the below config.

I'm not sure what is happening. I would expect them to both have the extra line or not based on blank value, but not have a mix of them.

[docformatter]
recursive = true
wrap-descriptions = 0
wrap-summaries = 120
make-summary-multi-line = True
pre-summary-newline = True
blank = False

https://github.com/crim-ca/weaver/blob/13714bfc6e4093ca91e04fa6153c91677ede6e6c/weaver/execute.py#L265-L266

Image

https://github.com/crim-ca/weaver/blob/13714bfc6e4093ca91e04fa6153c91677ede6e6c/weaver/execute.py#L176-L178

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: conventionRelates to docstring format conventionP: bugPEP 257 violation or existing functionality that doesn't work as documentedU: high

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions