Gawain 开源:要求 Python 所有变量都带类型标注
Show HN: Gawain – Require type hints on all Python variables
AI 导读
开发者发布 Gawain 工具,要求 Python 代码的变量、参数、返回值和类属性都带类型标注,弥补 ruff ANN 规则和 flake8-annotations 只检查函数的限制。
来源:Hacker News · github.com
Show HN: Gawain – Require type hints on all Python variables
开发者发布 Gawain 工具,要求 Python 代码的变量、参数、返回值和类属性都带类型标注,弥补 ruff ANN 规则和 flake8-annotations 只检查函数的限制。
来源:Hacker News · github.com