Skip to content

Optional feature: return statement at the end of a function #237

Closed
@pylint-bot

Description

@pylint-bot

Originally reported by: Anonymous


It would be nice to have a checker checking whether all functions end with a return-statement. The trivial statement
'return '
should be allowed, too. This feature should be optional and by default be turned off in the config file, e.g.
'min-returns=0'.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions