Skip to content

Consider linking assignment targets, arguments and single names #109

Closed
@felix-hilden

Description

@felix-hilden

We don't link assignment targets, arguments and (I think) single names:

import lib
target = lib.Thing()
target

def foo(arg: lib.Thing): pass

We could reconsider this, at least for single names divorced from assignments and type hints. It would prevent having to look for the original line where the type is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions