Skip to content

black conflicts with flake8-docstrings aka pydocstyle #709

@Midnighter

Description

@Midnighter

I've seen mention of this in #144 (comment) but did not spot an adequate solution. A blank line is introduced by black between a function docstring and a local function definition (which I personally agree with). However, this triggers D202 which complains about that line. I'm not sure what the official recommendation is. Any pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    F: empty linesWasting vertical space efficiently.R: not a bugThis is deliberate behavior of Black.T: user supportOP looking for assistance or answers to a question

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions