Skip to content

flake8 crashes when any undefined token ends in dot (.), an incomplete attribute #96

Description

@PorcelainMouse

MWE

if __name__ == "__main__":
    foo.

I know this doesn't seem like it would occur very often, but it seems to happen to me lot. It's something about trying to get completion to work, and when that fails, I usually have to stop and do some thinking or research, and while I'm doing that, my DE checks what I wrote and, bingo, I get this error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions