Gawain enforces type hints on every Python variable, not just function signatures

Gawain enforces type hints on every Python variable, not just function signatures

Hacker News Show HN·3d·MarinhoD

Gawain is a Python linter/checker that goes beyond mypy's function-level type checking by requiring type annotations on all variables throughout a codebase. For solo developers and small teams trying to maintain strict type discipline without relying on convention alone, it fills a gap that standard tooling leaves open. It's a focused, opinionated tool — the kind of zero-fluff devtool that tends to earn a quiet following among developers who care about code hygiene.

Share𝕏Reddit

Related stories