Skip to content

inlining of superfluous var #355

Open
@bwagner

Description

@bwagner

The inlining of a is not suggested:

def prepend(a, x):
    a = "*" * x + a
    return a

However, when providing the type str the refactoring is suggested:

def prepend(a:str, x):
    a = "*" * x + a
    return a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions