TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

9 点作者 dirtbag__dad大约 2 年前

4 条评论

fannheyward大约 2 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;mtshiba&#x2F;pylyzer">https:&#x2F;&#x2F;github.com&#x2F;mtshiba&#x2F;pylyzer</a>
评论 #35623530 未加载
akshivb大约 2 年前
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大约 2 年前
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.
fermigier大约 2 年前
I suspect&#x2F;predict Ruff will get into the type-checking business someday :)