matheuzgomes/gawain
On RepoHype since Nov 17, 2026
A Rust-built Python linter that requires type hints on every variable, attribute and return, then runs ty or pyrefly. Creators like its speed, claimed under half a second on CPython's stdlib.
What people said (2)
-
Github Awesome Mentions it 4.4K views · Nov 17, 2026GitHub Trending Today #60: oink, lastbook, pybot, unkernel, PrintLab, superbot, yab, roomy, TinyDrop
“Gawain is presented as a Python linter written in Rust that finds every missing type hint, including on variables and class attributes, not only functions. It then runs ty or pyrefly over the result, with rules for unannotated returns, Final constants and stray Any types. The author clocks it at under half a second on the whole CPython standard library.”
-
YHacker News Recommends it 67 points, 62 comments · Nov 15, 2026Show HN: Gawain – Require type hints on all Python variables
“Gawain – Require type hints on all Python variables”
Thanks to Github Awesome, Hacker News for featuring it.
Maintainer? Show it off
Add this badge to your README. It updates automatically with your current rank.
[](https://repohype.com/r/matheuzgomes/gawain)<a href="https://repohype.com/r/matheuzgomes/gawain"><img src="https://repohype.com/badge/matheuzgomes/gawain.svg" alt="Featured on RepoHype"></a>