TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is there a Ruff for Python static type checking?

9 pointsby dirtbag__dadabout 2 years ago

4 comments

fannheywardabout 2 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;mtshiba&#x2F;pylyzer">https:&#x2F;&#x2F;github.com&#x2F;mtshiba&#x2F;pylyzer</a>
评论 #35623530 未加载
akshivbabout 2 years 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.
MapleWalnutabout 2 years 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.<p>The Google and Facebook options aren’t well supported.
fermigierabout 2 years ago
I suspect&#x2F;predict Ruff will get into the type-checking business someday :)