Ask HN: Which Python Type Checker?

3 points by parentheses ↗ HN
I've worked with Python in the past but never went deep enough to compare the typecheckers. There are several: Pyre, Pyright, Mypy, Pytype.

It's unclear which is the best choice. I'd love to hear the take of a seasoned Python developer.

2 comments

[ 3.1 ms ] story [ 17.3 ms ] thread
Thank you. That’s what I started with last night. That was the default on my previous project as well. It seemed like a good shortcut decision.

What kinds of false negatives are we talking about? Are you referring to mixing untyped and typed code?

How is the support for libraries? Does support depend on using one typechecker in particular?