Skip to content

Never add trailing whitespace #34

Description

@zwimer

Sometimes when generating docs, this tool can leave trailing whitespace. For example (I added $s to the end of each line to show where the line ends):

    $
    Returns$
    -------$
    None$
$

Here you can see that before the Returns is something like \n\t\n or \n \n. This was generated with style = "google".

This is a problem for users who ant to integrate this into pre-commit as many things either remove trailing whitespace or consider it a problem. For example, pre-commit's homepage advertises first party support for a trailing whitespace checker, but many linters also support this feature as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions