5 ms·
Ask HN: Is there a Ruff for Python static type checking?
- akshivb 4y agoThere are many tools that accomplish static analysis in python. mypy is the original, but pyre(meta), pytype(google), and pyright(microsoft) are alternatives which make different trade offs.
- fannheyward 4y agohttps://github.com/mtshiba/pylyzer https://github.com/mtshiba/pylyzer
- dirtbag__dad 4y agoHere we go! Thank you.
- MapleWalnut 4y agoMypy is the most correct and flexible type checker I’ve found. Pyright is great for auto complete in VSCode though, so I use both. The Google and Facebook options aren’t well supported.
- fermigier 4y agoI suspect/predict Ruff will get into the type-checking business someday :)