Gawain
github.com · Open source · Active
Linter that requires type hints on every Python variable
- Developer tools
- Open source
- Rust
- Day-7 check
- python
- typing
- linter
- rust
- cli
- code quality
- developer tool
- pre commit
- pyrefly
- python linter
- Stars
- 51
- Forks
- 2
- Open issues
- 1
- Last commit
- Found
- 15 days ago
GitHub figures as of . They are context, not a ranking.
Gawain is a Rust tool that checks Python code and flags variables declared without a type hint. It is aimed at developers who want strict, explicit typing throughout a codebase and dislike loose annotations.
Repository description on GitHub: “Every Python type declared, every covenant kept.”
What it does
- Requires type annotations on variables as well as functions
- Requires annotations on parameters, returns and class attributes
- Runs ty or pyrefly to check the declared types
- Can run as a pre-commit hook
Good for
- Enforce explicit types on variables in a Python codebase
- Add a type-annotation check to a pre-commit setup
- Check annotated Python code with ty or pyrefly
Suits: Python developers who want explicit type annotations everywhere.
What you can try
Clone the repo and build with cargo.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw Gawain on , when MarinhoD posted it to Show HN. GitHub listed no published releases for matheuzgomes/gawain when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 67 points, 64 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 due 15 Dec 2026
Kip will recheck the sources then and record what it finds here.
Release timeline every entry links to its source
- Repository created on GitHub: matheuzgomes/gawain
- Found: MarinhoD posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
Quick answers
- When was Gawain released?
- No dated release record is available. Kip found it on Show HN on 15 Nov 2026.
- Is Gawain open source?
- Its source is public on GitHub at matheuzgomes/gawain under the MIT licence.
- What does Gawain run on?
- Command line.
- Is Gawain free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is Gawain still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | matheuzgomes/gawain REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-50504072. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.