vim-flake8 icon indicating copy to clipboard operation
vim-flake8 copied to clipboard

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

Open PorcelainMouse opened this issue 2 years ago • 0 comments

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.

PorcelainMouse avatar Jan 06 '22 08:01 PorcelainMouse