Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ask HN: Is there a Ruff for Python static type checking?
9 points
dirtbag__dad
3y ago
5 comments
Save
Share
5 comments
5 comments · 4 top-level
top
newest
oldest
fannheyward
3y ago
· 1 in thread
https://github.com/mtshiba/pylyzer
dirtbag__dad
OP
3y ago
Here we go! Thank you.
akshivb
3y ago
There 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.
MapleWalnut
3y ago
Mypy 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
3y ago
I suspect/predict Ruff will get into the type-checking business someday :)
j
/
k
navigate · click thread line to collapse