Skip to content

Remove "-> None:" and empty returns #30

Closed

Description

@NiklasMelton

"-> None:" and empty returns are unnecessary. Remove them to simplify code.

E.g.

def foobar( baz: int ) -> None:
    print(baz)
    return

can just be:

def foobar( baz: int ):
    print(baz)

Activity

  1. added
    documentation
    on Sep 18, 2022
  2. self-assigned this
    on Sep 19, 2022
  3. linked a pull request that will close this issueFeature/remove none empty returns #34on Sep 19, 2022
  4. AP6YC commented on Sep 19, 2022

    @AP6YC
    Owner

    Good catch. PR #34 cleans these up everywhere in the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions