# Gawain：强制所有 Python 变量标注类型

> 原标题：Show HN: Gawain – Require type hints on all Python variables

- 来源：Hacker News 首页
- 发布时间：2026-11-15T04:39:25.000Z
- AX AI 日报：https://ai-daily.ax0x.ai/items/u9ns8yk0wlthoetw2pof5u7h4
- 原文：https://github.com/matheuzgomes/gawain

## 摘要

Gawain 是一款要求 Python 变量、参数、返回值和类属性全部标注类型、再调用 ty 或 pyrefly 做类型检查的工具，可补足 ruff ANN 与 flake8-annotations 只管函数的空白。
