News for hackers. Stuff that matters.
Re:Ty: A fast Python type checker and language server by insane_dreamer on Wednesday May 07, 2025 @05:43PM (#43920862)
in my experience pyright is unable to infer many inherited object types (compared to PyCharm's type inference)
Re:Ty: A fast Python type checker and language server by lemontheme on Thursday May 08, 2025 @02:37AM (#43923646)
PyCharm 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.