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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions