Hey Pants Team, I’m curious to learn about the dec...
# general
r
Hey Pants Team, I’m curious to learn about the decision to use
mypy
as the default type checking tool. Were there any other considerations at the time?
h
We'd be welcome to other type checkers! We intentionally structured the folder to be python/typecheck/mypy, rather than python/mypy, so that we can add others. The decision was based on popularity and also internal usage for the pants project
1
f
a few people mentioned
pyright
at work recently which claims to be better at type checking async/await pieces, but it’s npm 😕
👍 1
r
hmm that’s interesting. We’re currently comparing pyre/ pyrite/mypy. I’ve only used
mypy
in my experience so was curious how the others would be better suited.
👍 1
our priorities for this decision is correctness, ease of integration, and industry usage. Also having PyCharm support is big plus here. Performance is not a deal breaker.
w
have never done that comparison myself… would be interested in any resources that you found useful in making your decision!