Skip to content

simplify code by using if then return instead of if then else wherever possible #7

@cytobi

Description

@cytobi

remove complexity by replacing

if condition:
    # if code
else:
    # else code

with

if condition:
    # if code
    return
# else code

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityimprove the code quality in some way

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions