Skip to content

Ruff doesn't raise syntax error for single starred assignment target #13759

Closed
@dhruvmanila

Description

@dhruvmanila

We should be raising syntax error for the following code:

*a = (1,)

https://play.ruff.rs/7e3fe1a8-7edc-40eb-a415-ced8f61bb7c1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions