Pytype Python 静态类型分析器 项目简介
Pytype 是 Google 开源的 Python 静态类型分析器。Pytype 可以:Lint plain Python code, flagging common mistakes such as mispelled attribute names, incorrect function calls, and much more, even across file boundaries. Enforce user-provided type annotations. While annotations are optional for pytype, it will check and apply them where present. Generate type annotations in standalone files ("pyi files"), which can be merged back into the Python source with a provided merge-pyi tool.