DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Show HN: Gawain – Require type hints on all Python variables

Quality: 8/10 Relevance: 9/10

Summary

Gawain is an open-source Python tool that enforces type annotations on all variables, parameters, returns, and class attributes, using type checkers such as ty or pyrefly. The README explains the motivation, rules, installation options, and shows examples of how it reports missing annotations and how to run checks, including pre-commit integration and performance benchmarks.

🚀 Service construit par Johan Denoyer