4 ms·
in my experience pyright is unable to infer many inherited object types (compared to PyCharm's type inference)
by insane_dreamer 2y ago
in my experience pyright is unable to infer many inherited object types (compared to PyCharm's type inference)
- lemontheme 2y agoPyCharm definitely excels on more ‘dynamic’ code but the number of times I’ve pulled in code written by colleagues using PyCharm only to get a rainbow of type errors from Pyright is too damn high. The PyCharm checker seems to miss really, really obvious things, e.g. allowing a call site to expect a string while the function returns bytes or none. Maybe my colleagues just have it configured wrong but there’s several of them and the config isn’t shared.