Skip to content

Fix &blurpify command errors/mistakes #30

@thatbirdguythatuknownot

Description

@thatbirdguythatuknownot

The &blurpify command is erroring out with a KeyError: ast.BoolOp when x and y or z is done. #34 merged.
Also with a KeyError: ast.FloorDiv when x // y is done. #31 merged.
Also fails on star parameters *args and double-star parameters **kwargs. #33 merged.
Also fails with a KeyError: ast.JoinedStr on joined strings, that is, formatted strings. #35 merged.

Wrong outputs:
ast.Slice with constants. #36 merged.
Spaces not being there 1 or more times. #37 merged.
Spaces not appearing where they should appear.
Output of f-strings not following PEP 9001.
inf and nan constants.

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