jamielinux/pyright-polite

pyright >= 1.1.366 causes error: pyright returned unexpected JSON (unexpected EOF)

Opened this issue · 0 comments

I think something changed with pyright, specifically after 1.1.366.

When running pyright-polite, I see the normal polite outbut, but I'm also getting:

pyright-polite: error: pyright returned unexpected JSON (unexpected EOF)

Reproducing it...

Here's a simple ./foo.py file to show the error:

print("bar")

Calling pyright-polite...

> pyright-polite ./foo.py
Found 1 source file
0 errors, 0 warnings, 0 informations
pyright-polite: error: pyright returned unexpected JSON (unexpected EOF)

Versions

pyright==1.1.370
pyright-polite==1.0.5