Skip to content

Broken walrus support #481

@canassa

Description

@canassa

Hello,

The latest release of pyflakes doesn't seem to support the walrus operator at all:

"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'"

I tried to install the master version but it still doesn't work properly:

models.py:309:66: E231 missing whitespace after ':'
        biocompatible = {m.name: "" for d in data["items"] if (m := d["material"]).biocompatible}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions