4 ms·
I don't use mypy so I can't comment on it but at least from what I have seen pyright is deterministic in it's output and get output json. Regarding the ~80k er
by veber-alex 1y ago
I don't use mypy so I can't comment on it but at least from what I have seen pyright is deterministic in it's output and get output json.
Regarding the ~80k errors. Yeah, nothing to do here besides slowly grinding away and adding type annotations and fixes until it's resolved.
For the code example pyright gives some hint towards variance but yes it can be confusing.
https://pyright-play.net/?pyrightVersion=1.1.403&code=GYJw9gtgBALgngBwJYDsDmUkQWEMoAiSAxjAFBkBSAzmCgGoCGANgK4CmUAvFNTCFAA%2BhEjADafEABooAIhp0mbdrIC6FACbtgUYGDAAKAJRQAtAD4oChiw4AuMlCfOAHnZGkJ-GZNXcoAN6yjLLusgBGsgC%2Bjs5OIOwwrCAoUC5kQA https://pyright-play.net/?pyrightVersion=1.1.403&code=GYJw9g...
- mixmastamyk 1y agoI recommend first starting with pyflakes and later ruff on a huge old Python project. Do file by file. When done, do typing similarly.