Skip to content

buildifier fails to parse ... (ellipsis literal) #1405

@9999years

Description

@9999years

buildifer fails to parse files that include the ellipsis literal ..., which is used by Buck2 to indicate variadic tuples:

$ echo "MyType = tuple[str, ...]" | buildifier
<stdin>:1:23: syntax error near .
<stdin> # reformat

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions